MCPcopy Create free account

hub / github.com/Yashsharma1911/Golang-tutorial / functions

Functions39 in github.com/Yashsharma1911/Golang-tutorial

↓ 3 callersFunctionappendString
(s string)
Mutex/main.go:29
↓ 3 callersFunctioncheckNilErr
(err error)
File/main.go:37
↓ 2 callersMethodgetName
Methods Methods are functions with a special receiver argument the method contains a receiver argument in it. With the help of the receiver argument,
Methods/1-Create_Methods/main.go:19
↓ 2 callersFunctiongreeter
this function will basically greet a person.
Goroutines/main.go:19
↓ 1 callersFunctionGetFirstNames
()
Projects/01 Beginner Projects/bookingapp/main.go:104
↓ 1 callersFunctionGetUserInput
Func to take data from user
Projects/01 Beginner Projects/bookingapp/main.go:83
↓ 1 callersFunctionGreetUsers
()
Projects/01 Beginner Projects/bookingapp/main.go:77
↓ 1 callersFunctionSendTicket
(NoOfTickets uint, firstname string, lastname string, email string)
Projects/01 Beginner Projects/bookingapp/main.go:114
↓ 1 callersFunctionValidateUserInput
(firstname string, lastname string, NoOfTickets uint, email string)
Projects/01 Beginner Projects/bookingapp/main.go:69
↓ 1 callersFunctioncreateAccount
(collection *mongo.Collection, ctx context.Context, data map[string]interface{})
Projects/02 Intermediate Projects/CRUD-server/create_account.go:9
↓ 1 callersFunctiondeleteAccount
(collection *mongo.Collection, ctx context.Context, data map[string]interface{})
Projects/02 Intermediate Projects/CRUD-server/delete_account.go:11
↓ 1 callersFunctiongetAccounts
(collection *mongo.Collection, ctx context.Context)
Projects/02 Intermediate Projects/CRUD-server/get_accounts.go:11
↓ 1 callersFunctionreadFile
(path string)
File/main.go:43
↓ 1 callersFunctionstatusCode
(site string)
WaitGroups/main.go:31
↓ 1 callersFunctionupdateAccount
(collection *mongo.Collection, ctx context.Context, data map[string]interface{})
Projects/02 Intermediate Projects/CRUD-server/update_account.go:11
FunctionaccountsHandler
(w http.ResponseWriter, r *http.Request)
Projects/02 Intermediate Projects/CRUD-server/main.go:23
Functionmain
()
main.go:9
Functionmain
()
Time/main.go:8
Functionmain
()
Projects/02 Intermediate Projects/basic-go-server/main.go:8
Functionmain
()
Projects/02 Intermediate Projects/CRUD-server/main.go:18
Functionmain
()
Projects/01 Beginner Projects/bookingapp/main.go:26
Functionmain
functions function is a block of code that is used to perform a specific task syntax * func functionName(parameterName type) returnType { // code
Function/main.go:66
Functionmain
()
If-else/main.go:5
Functionmain
()
Conversions/main.go:11
Functionmain
this should be pointer but we are not using it as pointer now.
WaitGroups/main.go:13
Functionmain
()
Mutex/main.go:12
Functionmain
()
Struct/main.go:5
Functionmain
()
Maps/main.go:5
Functionmain
()
Goroutines/raceCondition.go:8
Functionmain
()
Goroutines/main.go:8
Functionmain
()
File/main.go:11
Functionmain
()
Array/main.go:7
Functionmain
()
Slices/main.go:8
Functionmain
()
Pointers/main.go:5
Functionmain
()
Methods/1-Create_Methods/main.go:23
Functionmain
Defer keyword The defer keyword is used to delay the execution of a function until the surrounding function returns. The defer works on first in last
Methods/2-Defer_keyword/main.go:13
Functionmain
()
Switch_Statement/main.go:9
Functionmain
()
Loops/main.go:5
Functionmain
()
1-Hello_World 👋/main.go:5