Documentation
¶
Index ¶
- Constants
- func CheckExec(q string, args ...interface{})
- func CreatePost(p PostW) (int64, error)
- func CreateThread(t ThreadW) (int64, error)
- func Init()
- func Migrate()
- func PrepareQueries()
- func ReadConfig(key string) string
- func WriteConfig(key, val string)
- type Board
- type NullInt
- type NullTime
- type Post
- type PostW
- type ThreadW
Constants ¶
View Source
const ModelVersion = 1
View Source
const (
Version = "version"
)
Variables ¶
This section is empty.
Functions ¶
func CreatePost ¶
func CreateThread ¶
func PrepareQueries ¶
func PrepareQueries()
func ReadConfig ¶
func WriteConfig ¶
func WriteConfig(key, val string)
Types ¶
type Board ¶
func GetAllBoards ¶
func GetBoardByCode ¶
func GetBoardById ¶
func (*Board) GetAllPosts ¶
Click to show internal directories.
Click to hide internal directories.