Spaces:
Runtime error
Runtime error
File size: 223 Bytes
e762600 | 1 2 3 4 5 6 7 8 9 10 11 12 | 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)
}
|