MCPcopy Create free account

hub / github.com/GrowAdept/youtube / functions

Functions474 in github.com/GrowAdept/youtube

↓ 72 callersMethodNew
New creates a new User in the database, is_active set to 0 (false) until email is verfied
gin/register/users.go:66
↓ 52 callersMethodError
()
gobasics/testingErrors/main.go:12
↓ 9 callersMethodNew
New creates a new User in the database, is_active set to 0 (false) until email is verfied
gin/pswdRecovery/users.go:91
↓ 9 callersMethodNew
New creates a new User in the database, is_active set to 0 (false) until email is verfied
gin/changePswd/users.go:101
↓ 9 callersFunctiontxCheck
txCheck checks CRUD operations for errors and handles with rollback and executing template for user with message on error this function is intended to
gowebdev/editProfile/main.go:1035
↓ 4 callersFunctionAuth
Auth() adds authentication code to handler before returning handler (adds code to check if user is logged in) func (f HandlerFunc) ServeHTTP(w Respons
gowebdev/editProfile/main.go:87
↓ 4 callersFunctionfindTotal
by placing an ellipsis (three dots) in front of final parameter item items var will hold a slice of passed in float64 arguments
gobasics/variadicfunc/main.go:36
↓ 4 callersMethodgetUserByUsername
()
gin/pswdRecovery/users.go:16
↓ 4 callersMethodgetUserByUsername
()
gin/changePswd/users.go:16
↓ 3 callersMethodSelectByID
()
gowebdev/editProfile/main.go:837
↓ 3 callersMethodSelectByName
()
gowebdev/editProfile/main.go:826
↓ 3 callersMethodSendEmail
(subject, body string)
gowebdev/editProfile/main.go:936
↓ 3 callersFunctionadd2
(num int)
gobasics/testing/main.go:22
↓ 3 callersFunctioncheckNameLen
checkNameLen checks that a username is between 5 and 17 characters long (non-inclusive) checkNameLen returns nil error or *errors.errorString
gobasics/testingErrors/main.go:83
↓ 3 callersMethodcheckPasswordCriteria
()
gowebdev/editProfile/main.go:742
↓ 3 callersFunctionopenFile
openFile return a nil error or *fs.PathError
gobasics/testingErrors/main.go:93
↓ 3 callersMethodvalidatePassword
validatePassword checks level of entropy of password
gin/changePswd/users.go:66
↓ 2 callersMethodAskGPTansw
(prompt string)
goprojects/chatGPT/chatGPTapi/chatGPTapi.go:64
↓ 2 callersFunctionAuth
Auth adds authentication code to handler before returning handler func (f HandlerFunc) ServeHTTP(w ResponseWriter, r *Request)
gowebdev/middleware/main.go:49
↓ 2 callersFunctionAuth
Auth() adds authentication code to handler before returning handler (adds code to check if user is logged in) func (f HandlerFunc) ServeHTTP(w Respons
gowebdev/forgotPassword/main.go:67
↓ 2 callersFunctionCreatePrompParams
(prompt string)
goprojects/chatGPT/chatGPTapi/chatGPTapi.go:140
↓ 2 callersFunctionHello
()
gobasics/testing/main.go:17
↓ 2 callersMethodNewEmailVerPswd
()
gin/pswdRecovery/users.go:229
↓ 2 callersMethodNewEmailVerPswd
()
gin/changePswd/users.go:236
↓ 2 callersMethodNewVerHash
()
gowebdev/editProfile/main.go:913
↓ 2 callersMethodSendEmail
* WARNING: if using Google to send emails, less secure apps are no longer allowed to send emails (5-30-22), app password must be used, app passwords
gin/pswdRecovery/email.go:13
↓ 2 callersMethodSendEmail
* WARNING: if using Google to send emails, less secure apps are no longer allowed to send emails (5-30-22), app password must be used, app passwords
gin/changePswd/email.go:13
↓ 2 callersMethodSetDay
(day int)
gobeyondbasics/calendar/calendar.go:36
↓ 2 callersMethodTxUpdate
(tx *sql.Tx)
gowebdev/editProfile/main.go:980
↓ 2 callersMethodUpdatePswdHash
()
gin/changePswd/users.go:258
↓ 2 callersMethodYear
If any methods uses a * then it's idomatic in Go to use * in all that types methods Go convention for naming getter methods is to just use field name,
gobeyondbasics/calendar/calendar.go:46
↓ 2 callersMethodcheckEmailDomain
()
gowebdev/editProfile/main.go:814
↓ 2 callersMethodcheckEmailValid
()
gowebdev/editProfile/main.go:792
↓ 2 callersFunctioncheckPasswordCriteria
(password string)
gowebdev/forgotPassword/main.go:795
↓ 2 callersMethodcheckUsernameCriteria
()
gowebdev/editProfile/main.go:718
↓ 2 callersMethodgetUserByID
()
gin/changePswd/users.go:27
↓ 2 callersMethodgetUserByUsername
()
gin/register/users.go:16
↓ 2 callersMethodperimeter
()
gobasics/interfaces/main.go:10
↓ 2 callersMethodvalidatePassword
validatePassword checks level of entropy of password
gin/pswdRecovery/users.go:56
↓ 2 callersMethodverifyPswd
verifyPswd checks the user's password hash from the db with the password password given in a form user.Select needs to be run to populate fields befor
gowebdev/editProfile/main.go:1049
↓ 1 callersMethodDisplayWorldDate
()
gobeyondbasics/calendar/calendar.go:56
↓ 1 callersMethodGetDay
()
gobeyondbasics/calendar/calendar.go:52
↓ 1 callersMethodMakeActive
()
gin/register/users.go:209
↓ 1 callersMethodMakeActive
()
gin/pswdRecovery/users.go:214
↓ 1 callersMethodMakeActive
()
gin/changePswd/users.go:221
↓ 1 callersFunctionMustDispEmailDom
disposable email list from https://github.com/disposable-email-domains/disposable-email-domains/blob/master/disposable_email_blocklist.conf
gin/register/main.go:201
↓ 1 callersFunctionMustDispEmailDom
disposable email list from https://github.com/disposable-email-domains/disposable-email-domains/blob/master/disposable_email_blocklist.conf
gin/pswdRecovery/main.go:434
↓ 1 callersFunctionMustDispEmailDom
disposable email list from https://github.com/disposable-email-domains/disposable-email-domains/blob/master/disposable_email_blocklist.conf
gin/changePswd/main.go:515
↓ 1 callersMethodPromptRequest
(prompt string)
goprojects/chatGPTapi1/main.go:71
↓ 1 callersMethodSelectByEmail
()
gowebdev/editProfile/main.go:848
↓ 1 callersMethodSendEmail
* WARNING: if using Google to send emails, less secure apps are no longer allowed to send emails (5-30-22), app password must be used, app passwords
gin/register/email.go:13
↓ 1 callersMethodSetMonth
(m int)
gobeyondbasics/calendar/calendar.go:28
↓ 1 callersMethodSetYear
Methods are capitalized and visible outside of package (universe scope) Setter methods require * to change fields Go convention for naming setter meth
gobeyondbasics/calendar/calendar.go:20
↓ 1 callersMethodTxCreate
(tx *sql.Tx)
gowebdev/editProfile/main.go:867
↓ 1 callersMethodTxExists
TxExists check to see if username already exists
gowebdev/editProfile/main.go:860
↓ 1 callersMethodTxMakeActive
(tx *sql.Tx)
gowebdev/editProfile/main.go:960
↓ 1 callersMethodUpdate
()
gowebdev/editProfile/main.go:1004
↓ 1 callersMethodUpdatePswdHash
()
gin/pswdRecovery/users.go:254
↓ 1 callersMethodUsernameExists
()
gin/register/users.go:53
↓ 1 callersMethodUsernameExists
()
gin/pswdRecovery/users.go:65
↓ 1 callersMethodUsernameExists
()
gin/changePswd/users.go:75
↓ 1 callersFunctionWorld
()
gobasics/testing/world/world.go:3
↓ 1 callersFunctionaddTax
pass by-reference
gobasics/pointers2/main.go:9
↓ 1 callersMethodarea
()
gobasics/methods/main.go:31
↓ 1 callersFunctionaskGPT
* fmt.Println("askPostHandler running") question := c.PostForm("question") fmt.Println("question:", question) fmt.Println("askGPT running") resp,
goprojects/chatGPTapi1/main.go:149
↓ 1 callersFunctionchangeName
(n string)
gobasics/concurrency2/main.go:25
↓ 1 callersFunctionchangeName
(n string)
gobasics/concurrency/main.go:13
↓ 1 callersFunctioncheckEmailDomain
(email string)
gowebdev/verifyEmail/main.go:434
↓ 1 callersFunctioncheckEmailDomain
(email string)
gowebdev/forgotPassword/main.go:867
↓ 1 callersFunctioncheckEmailValid
(email string)
gowebdev/verifyEmail/main.go:412
↓ 1 callersFunctioncheckEmailValid
(email string)
gowebdev/forgotPassword/main.go:845
↓ 1 callersFunctioncheckPasswordCriteria
(password string)
gowebdev/verifyEmail/main.go:362
↓ 1 callersFunctioncheckUsernameCriteria
(username string)
gowebdev/verifyEmail/main.go:338
↓ 1 callersFunctioncheckUsernameCriteria
(username string)
gowebdev/forgotPassword/main.go:771
↓ 1 callersFunctiondoSomething
()
gobasics/funcs/main.go:8
↓ 1 callersMethoddoesNotChangeStr
creates copy of type and passes it to the function, not the original
gobasics/methodPtr/main.go:21
↓ 1 callersFunctionemail
()
gowebdev/email/main.go:14
↓ 1 callersFunctionemailVerCode
(rn int, toEmail string)
gowebdev/verifyEmail/main.go:311
↓ 1 callersFunctionexit
(ch chan bool)
gobeyondbasics/select/main.go:28
↓ 1 callersFunctionfindType
(a interface{})
gobeyondbasics/generics/reflect/main.go:13
↓ 1 callersFunctiongetQuote
(symbol string, ch chan *finance.Quote)
gobeyondbasics/channels/chanLoop2/main.go:17
↓ 1 callersMethodgetUserByEmail
()
gin/pswdRecovery/users.go:28
↓ 1 callersMethodgetUserByEmail
()
gin/changePswd/users.go:38
↓ 1 callersMethodgetUserByUsername
()
gin/GorillaSessions/main.go:126
↓ 1 callersFunctionmiddlewareFunc3
()
gin/middleware/main.go:68
↓ 1 callersFunctionmin
(x, y int)
gobeyondbasics/generics/morefuncs/main.go:10
↓ 1 callersFunctionmin
(x, y T)
gobeyondbasics/generics/instantiation/main.go:14
↓ 1 callersFunctionmin
(x, y interface{})
gobeyondbasics/generics/typeAss/main.go:14
↓ 1 callersFunctionmin
(x, y T)
gobeyondbasics/generics/funcinfer/main.go:13
↓ 1 callersMethodperimeter
()
gobasics/interfaces/main.go:33
↓ 1 callersMethodperimeter
()
gobasics/interfaces/main.go:38
↓ 1 callersMethodperimeter
()
gobasics/interfaces/main.go:43
↓ 1 callersFunctionprintA
()
gobeyondbasics/goroutines/main.go:10
↓ 1 callersFunctionprintA
(c chan string)
gobeyondbasics/channels/channels/main.go:11
↓ 1 callersFunctionprintA
()
gobeyondbasics/sync/main.go:12
↓ 1 callersFunctionprintB
()
gobeyondbasics/goroutines/main.go:17
↓ 1 callersFunctionprintB
(c chan string)
gobeyondbasics/channels/channels/main.go:17
↓ 1 callersFunctionprintB
()
gobeyondbasics/sync/main.go:21
↓ 1 callersFunctionprintC
()
gobeyondbasics/goroutines/main.go:24
↓ 1 callersFunctionprintC
(c chan string)
gobeyondbasics/channels/channels/main.go:23
next →1–100 of 474, ranked by callers