Skip to content

huangxingx/go-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-util

golang 实现的工具方法

cache 缓存

type Cache interface {
	Get(key string) interface{}
	Put(key string, val interface{})
	Size() int
}

lruCache 最近最少更新

order 排序

排序方法 func
冒泡排序 Bubble

stack 栈

strings 字符串操作

Releases

No releases published

Packages

No packages published

Languages