1
2
3
4
5
6
7
8
9
10
11
12
|
package main import "log" func main() { // log.SetFlags(0) log.Println( "Logging" ) } /* 로그출력 내용 2016/01/15 16:04:08 Logging */ |
-> 이건 안됨
func homePage(w http.ResponseWriter, r *http.Request){
fmt.Fprintf(w, "Welcome to the HomePage!")
fmt.Println("Endpoint Hit: homePage")
}
https://medium.com/@pkbhowmick007/user-registration-and-login-template-using-golang-mongodb-and-jwt-d85f09f1295e
https://devcrazy.medium.com/golang-gin-jwt-mogo-mongodb-orm-golang-authentication-example-52c3c1189488