Documentation
¶
Index ¶
- func Query(db *datastore.Datastore) datastore.Query
- type Document
- type Site
- func (s *Site) AfterCreate() error
- func (s *Site) AfterDelete() error
- func (s *Site) AfterUpdate(previous *Site) error
- func (s *Site) BeforeCreate() error
- func (s *Site) BeforeDelete() error
- func (s *Site) BeforeUpdate(previous *Site) error
- func (s *Site) Defaults()
- func (s Site) Document() mixin.Document
- func (s *Site) Init(db *datastore.Datastore)
- func (s Site) Kind() string
- func (s Site) Netlify() *netlify.Site
- func (s *Site) SetNetlify(nsite *netlify.Site)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Document ¶
type Site ¶
type Site struct {
mixin.BaseModel
Domain string `json:"domain"`
Name string `json:"name"`
Url string `json:"url"`
Netlify_ netlify.Site `json:"-"`
}
func (*Site) AfterCreate ¶
func (*Site) AfterDelete ¶
func (*Site) AfterUpdate ¶
func (*Site) SetNetlify ¶
Click to show internal directories.
Click to hide internal directories.