golang not enough arguments in call to uuid.Must have (uuid.UUID) want (uuid.UUID, error)
golang not enough arguments in call to uuid.Must have (uuid.UUID) want (uuid.UUID, error)相信出现此问题的都是因为使用了go mod之后导致不一致的问题,笔者也以为靠自己能解决问题,但是怎么改还是出错。当初看了很多文章推荐satori/go.uuid,但目前看satori/go.uuid确实有点坑了,如果解决不了问题,建议大家跳坑使用google的uuid库 https://github.com/goog