Documentation ¶
Index ¶
- Variables
- func CloseRowsDefer(rows *sql.Rows)
- func GetDB(config *AppConfig) *sql.DB
- func GetMinutes() string
- func InitApp()
- func LogError(err error)
- func LogInfo(msg string)
- func OutPutHtml(c *gin.Context, s string)
- func OutPutText(c *gin.Context, s string)
- type AppConfig
- type Msg
- type ShowMessage
- type Umsg
- type VBlogItem
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetMinutes ¶
func GetMinutes() string
func OutPutHtml ¶
func OutPutText ¶
Types ¶
type AppConfig ¶
type ShowMessage ¶
type Umsg ¶
func (*Umsg) ShowMessage ¶
type VBlogItem ¶
type VBlogItem struct { Aid int Title sql.NullString Content sql.NullString Publish_time sql.NullString Publish_status sql.NullInt64 Views int }
Click to show internal directories.
Click to hide internal directories.