Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bnsd55/beego-vuejs-starter-kit
/ functions
Functions
25 in github.com/bnsd55/beego-vuejs-starter-kit
⨍
Functions
25
◇
Types & classes
3
↓ 1 callers
Function
GetUser
GetUser returns user @returns a specific user by id
models/user.go:61
Function
AddUser
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
Method
AddUser
AddUser adds a new user
controllers/user.go:37
Function
DeleteUser
DeleteUser deletes a specific user by id @returns true if user was deleted successfully otherwise false
models/user.go:96
Method
DeleteUser
DeleteUser deletes existing user by id
controllers/user.go:53
Method
GetUser
GetUser returns a user by id
controllers/user.go:23
Function
GetUsers
GetUsers returns all users
models/user.go:55
Method
GetUsers
GetUsers returns a list of users
controllers/user.go:17
Method
Home
Home goes to index.html file from ./../dist
controllers/main.go:12
Function
UpdateUser
UpdateUser updates a specific user @returns pointer to a updated user if user was updated successfully otherwise null
models/user.go:82
Method
UpdateUser
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
Function
addUser
(user, cb)
static/js/api/users.js:17
Function
deleteUser
(userID, cb)
static/js/api/users.js:10
Function
getAllUsers
(cb)
static/js/api/users.js:4
Function
init
()
models/user.go:14
Function
init
()
routers/router.go:9
Function
main
()
main.go:9
Function
scrollBehavior
(to, from, savedPosition)
static/js/routes.js:13
Function
updateUser
(user, cb)
static/js/api/users.js:24