utils

package
v0.0.0-...-96174dc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandString

func RandString(n int) string

RandString 生成随机字符串

Types

type FormatDate

type FormatDate struct {
	time.Time
}

func (FormatDate) MarshalJSON

func (t FormatDate) MarshalJSON() ([]byte, error)

func (*FormatDate) Scan

func (t *FormatDate) Scan(v interface{}) error

func (*FormatDate) String

func (t *FormatDate) String() string

func (*FormatDate) UnmarshalJSON

func (t *FormatDate) UnmarshalJSON(data []byte) error

func (FormatDate) Value

func (t FormatDate) Value() (driver.Value, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL