Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Post ¶
type Post struct { // This is Id Id int32 `db:"id"` // This is User ID Uid int32 `db:"uid"` // title of the post Title string `db:"title" json:"title"` // HTML body of the post Body string `db:"body" json:"body"` // size in byte of the post Size int64 `db:"size"` // date when the post is published Date time.Time }
Post is for blog post This is a multiple line comment *
- This is another multiple line comment
- Just another type
Click to show internal directories.
Click to hide internal directories.