util

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: MulanPSL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clone

func Clone(source interface{}, tager interface{})

func GetCurrentAbPath

func GetCurrentAbPath() string

最终方案-全兼容

func GetFormatTime

func GetFormatTime(layout string) string

func GetNowMilTime

func GetNowMilTime() string

func GetNowTime

func GetNowTime() string

func IdGenerator

func IdGenerator() string

Types

type Set

type Set struct {
	// contains filtered or unexported fields
}

func NewSet

func NewSet(items ...interface{}) *Set

func (*Set) Add

func (s *Set) Add(items ...interface{})

func (*Set) Contains

func (s *Set) Contains(item interface{}) bool

func (*Set) Remove

func (s *Set) Remove(item interface{})

func (*Set) Size

func (s *Set) Size() int

Jump to

Keyboard shortcuts

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