Versions in this module Expand all Collapse all v2 v2.0.13 Oct 27, 2026 v2.0.12 Oct 23, 2026 v2.0.11 Oct 15, 2026 v2.0.10 Oct 13, 2026 v2.0.9 Oct 13, 2026 v2.0.8 Sep 15, 2026 v2.0.7 Sep 10, 2026 v2.0.6 Sep 9, 2026 v2.0.5 Sep 8, 2026 v2.0.4 Sep 7, 2026 v2.0.3 Sep 7, 2026 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)