Spaces:
Runtime error
Runtime error
Download utils/Helper.go from lifedebugger/quzuu-api-dev: direct link, hf CLI and curl.
- Browser
- Download file 223 Bytes
-
https://huggingface.co/spaces/lifedebugger/quzuu-api-dev/resolve/main/utils/Helper.go
- Command line
-
hf download hf://spaces/lifedebugger/quzuu-api-dev/utils/Helper.go
-
curl -L -o Helper.go https://huggingface.co/spaces/lifedebugger/quzuu-api-dev/resolve/main/utils/Helper.go
223 Bytes
| package utils | |
| import ( | |
| "github.com/gin-gonic/gin" | |
| "godp.abdanhafidz.com/models" | |
| ) | |
| func GetAccount(c *gin.Context) models.AccountData { | |
| cParam, _ := c.Get("accountData") | |
| return cParam.(models.AccountData) | |
| } | |