Documentation ¶ Index ¶ type Config type Photo Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { SiteName string `json:"site_name"` HostName string `json:"host_name"` Port int `json:"port"` PhotoDir string `json:"photo_dir"` MaxPhotoCount int `json:"max_photo_count"` } type Photo ¶ type Photo struct { gorm.Model ImagePath string ThumbPath string DeleteKey string Width int Height int FileSize int64 } Source Files ¶ View all Source files data.go Click to show internal directories. Click to hide internal directories.