Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { Status ResultStatus `json:"status"` Msg string `json:"msg"` Data any `json:"data"` Time time.Time `json:"time"` }
func FailureResult ¶
func SuccessResult ¶
type ResultStatus ¶
type ResultStatus string
const ( SUCCESS ResultStatus = "success" FAILURE ResultStatus = "failure" )
Click to show internal directories.
Click to hide internal directories.