Versions in this module Expand all Collapse all v2 v2.0.2 Sep 4, 2026 v2.0.1 Sep 4, 2026 Changes in this version + type PostLog struct + Apiname string + AppName string + ClientIP string + ContentType string + Method string + RequestBody any + RequestHeader map[string]string + RequestId string + RequestParam any + ResponseMap any + ResponseStr string + ResponseTime string + TTL int + Time string + Uri string + type Result struct + Data T + Msg string + Page *ResultPage + Status int + func Error(s int, m string) Result[any] + func ErrorT[T any](s int, m string) Result[T] + func SuccessPage[T any](data T, page *ResultPage) Result[T] + func SuccessWithMsg[T any](msg string, data T) Result[T] + func SuccessWithPage[T any](data T, count, index, size, total int) Result[T] + func Success[T any](data T) Result[T] + func ToAny[T any](result Result[any]) Result[T] + func (r Result[T]) ToAny() Result[any] + type ResultPage struct + Count int + Index int + Size int + Total int + type Timestamp time.Time + func NewTimestamp(t time.Time) Timestamp + func (t *Timestamp) Scan(v any) error + func (t *Timestamp) UnmarshalJSON(data []byte) (err error) + func (t Timestamp) MarshalJSON() ([]byte, error) + func (t Timestamp) Time() time.Time + func (t Timestamp) Value() (driver.Value, error)