MCPcopy Create free account

hub / github.com/bnsd55/beego-vuejs-starter-kit / functions

Functions25 in github.com/bnsd55/beego-vuejs-starter-kit

↓ 1 callersFunctionGetUser
GetUser returns user @returns a specific user by id
models/user.go:61
FunctionAddUser
AddUser adds a new user to the list @returns pointer to a user object if user was added successfully otherwise null
models/user.go:74
MethodAddUser
AddUser adds a new user
controllers/user.go:37
FunctionDeleteUser
DeleteUser deletes a specific user by id @returns true if user was deleted successfully otherwise false
models/user.go:96
MethodDeleteUser
DeleteUser deletes existing user by id
controllers/user.go:53
MethodGetUser
GetUser returns a user by id
controllers/user.go:23
FunctionGetUsers
GetUsers returns all users
models/user.go:55
MethodGetUsers
GetUsers returns a list of users
controllers/user.go:17
MethodHome
Home goes to index.html file from ./../dist
controllers/main.go:12
FunctionUpdateUser
UpdateUser updates a specific user @returns pointer to a updated user if user was updated successfully otherwise null
models/user.go:82
MethodUpdateUser
UpdateUser updates existing user by id
controllers/user.go:45
Function[types.ADD_USER]
({ commit }, addedUser)
static/js/store/modules/users.js:24
Function[types.DELETE_USER]
({ commit }, userID)
static/js/store/modules/users.js:17
Function[types.GET_ALL_USERS]
({ commit })
static/js/store/modules/users.js:12
Function[types.INITIALIZE_TEMP]
({ commit }, tempUser)
static/js/store/modules/users.js:29
Function[types.SUBMIT_UPDATE_USER]
({ commit }, userIndex)
static/js/store/modules/users.js:35
Function[types.UPDATE_USER]
({ commit }, data)
static/js/store/modules/users.js:32
FunctionaddUser
(user, cb)
static/js/api/users.js:17
FunctiondeleteUser
(userID, cb)
static/js/api/users.js:10
FunctiongetAllUsers
(cb)
static/js/api/users.js:4
Functioninit
()
models/user.go:14
Functioninit
()
routers/router.go:9
Functionmain
()
main.go:9
FunctionscrollBehavior
(to, from, savedPosition)
static/js/routes.js:13
FunctionupdateUser
(user, cb)
static/js/api/users.js:24