Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *pop.Connection
DB is a connection to your database to be used throughout your application.
Functions ¶
This section is empty.
Types ¶
type Framework ¶
type Framework struct { ID uuid.UUID `json:"id" db:"id" fake:"skip"` CreatedAt time.Time `json:"-" db:"created_at" fake:"skip"` UpdatedAt time.Time `json:"-" db:"updated_at" fake:"skip"` Title string `json:"title" db:"title" fake:"hipster_word"` Description string `json:"description" db:"description" fake:"hipster_paragraph"` }
func (*Framework) ValidateCreate ¶
ValidateCreate gets run every time you call "pop.ValidateAndCreate" method. This method is not required and may be deleted.
func (*Framework) ValidateUpdate ¶
ValidateUpdate gets run every time you call "pop.ValidateAndUpdate" method. This method is not required and may be deleted.
type Frameworks ¶
type Frameworks []Framework
Frameworks is not required by pop and may be deleted
func (Frameworks) String ¶
func (f Frameworks) String() string
String is not required by pop and may be deleted
Click to show internal directories.
Click to hide internal directories.