Documentation ¶
Index ¶
Constants ¶
View Source
const ProfileCue = `` /* 448-byte string literal not displayed */
Variables ¶
View Source
var Models = []Model{ { ID: "profile", Name: "Profile", Folder: "profiles", ForeignKey: "profile_id", Cue: ProfileCue, }, }
Models is used by various commands to determine how to perform certain actions based on arguments and flags provided. All new types must be represented in this slice.
Functions ¶
This section is empty.
Types ¶
type Model ¶
func (Model) DestinationContentPath ¶
func (Model) DestinationFilePath ¶
func (Model) SourceContentPath ¶
func (Model) SourceFilePath ¶
type Profile ¶
type Profile struct { FirstName string `json:"first_name"` LastName string `json:"last_name"` Company string `json:"company"` Title string `json:"title"` SocialAccounts []SocialAccount `json:"social_accounts"` // contains filtered or unexported fields }
func ProfileFromYAML ¶
type SocialAccount ¶
Click to show internal directories.
Click to hide internal directories.