mirror of
https://github.com/hrfee/jfa-go.git
synced 2025-01-07 00:40:11 +00:00
Harvey Tindall
726acb9c29
login, lang, and theme work. Currently only makes a request to a hello-world type endpoint to verify auth works. Accessible at /my/account.
8 lines
156 B
Go
8 lines
156 B
Go
package main
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
func (app *appContext) HelloWorld(gc *gin.Context) {
|
|
gc.JSON(200, stringResponse{"It worked!", "none"})
|
|
}
|