Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitWithMsg ¶
func ExitWithMsg(str string, value ...interface{})
func FilenameWithLineNum ¶
func FilenameWithLineNum() string
Types ¶
type Context ¶
type Context struct {
Request *http.Request
Writer http.ResponseWriter
ResourceID string
Config *Config
Roles []string
DB *gorm.DB
}
func (*Context) GetContext ¶
type CurrentUser ¶
type CurrentUser interface {
DisplayName() string
}
Directories
¶
| Path | Synopsis |
|---|---|
|
tutorial/bookstore
command
|
|
|
tutorial/bookstore/01
command
|
|
|
test
|
|
|
integration
command
|
|
|
test
command
|
Click to show internal directories.
Click to hide internal directories.