mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
userpage: initial page
login, lang, and theme work. Currently only makes a request to a hello-world type endpoint to verify auth works. Accessible at /my/account.
This commit is contained in:
7
api-userpage.go
Normal file
7
api-userpage.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package main
|
||||
|
||||
import "github.com/gin-gonic/gin"
|
||||
|
||||
func (app *appContext) HelloWorld(gc *gin.Context) {
|
||||
gc.JSON(200, stringResponse{"It worked!", "none"})
|
||||
}
|
||||
Reference in New Issue
Block a user