2 Star 1 Fork 0

mrwhen / gone

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
service.go 243 Bytes
Copy Edit Raw Blame History
package id
import (
"github.com/rs/xid"
)
type OneIDService struct {
}
func NewOneIDService(params ...interface{}) (interface{}, error) {
return &OneIDService{}, nil
}
func (s *OneIDService) NewID() string {
return xid.New().String()
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/mrwhen/gone.git
git@gitee.com:mrwhen/gone.git
mrwhen
gone
gone
v0.0.1-alpha

Search

344bd9b3 5694891 D2dac590 5694891