mirror of
https://github.com/lus/pasty.git
synced 2023-08-10 21:13:09 +03:00
12 lines
403 B
Go
12 lines
403 B
Go
|
package pastes
|
||
|
|
||
|
import "github.com/bwmarrin/snowflake"
|
||
|
|
||
|
// Paste represents a saved paste
|
||
|
type Paste struct {
|
||
|
ID snowflake.ID `json:"id" bson:"_id"`
|
||
|
Content string `json:"content" bson:"content"`
|
||
|
SuggestedSyntaxType string `json:"suggestedSyntaxType" bson:"suggestedSyntaxType"`
|
||
|
DeletionToken string `json:"deletionToken" bson:"deletionToken"`
|
||
|
}
|