Skip to content

语法bug 在 util.go:62:11: assignment mismatch: 2 variables but 1 values #8

Description

@dmskys

// 生成随机字符串
func nonceStr() string {
uid, err := uuid.NewV4()
if err != nil {
return errors.New("生成随机字符串").Error()
}
return strings.Replace(uid.String(), "-", "", -1)
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions