github.com/yitter/idgenerator-go@v1.3.3/idgen/IdGeneratorException.go (about) 1 /* 2 * 版权属于:yitter(yitter@126.com) 3 * 代码编辑:guoyahao 4 * 代码修订:yitter 5 * 开源地址:https://github.com/yitter/idgenerator 6 */ 7 8 // Package idgen is a snowflake id generator 9 package idgen 10 11 import "fmt" 12 13 type IdGeneratorException struct { 14 message string 15 error error 16 } 17 18 func (e IdGeneratorException) IdGeneratorException(message ...interface{}) { 19 fmt.Println(message...) 20 }