mindoc-org / mindoc

Golang实现的基于beego框架的接口在线文档管理系统
https://mindoc.com.cn/docs/mindochelp
Apache License 2.0
7.29k stars 1.9k forks source link

gobuild失败, 请问是什么原因. 跟go的版本有关系吗 #568

Open KevinsDeveloper opened 4 years ago

KevinsDeveloper commented 4 years ago

请按照一下格式提交issue,谢谢!

  1. 你当前使用的是哪个版本的 MinDoc(godoc_linux_amd64 version)? 最新版的源码

  2. 你当前使用的是什么操作系统? linux

  3. 你是如何操作的? go build

  4. 你期望得到什么结果? 编译成功

  5. 当前遇到的是什么结果?

    github.com/kardianos/service

    ../../kardianos/service/service_linux.go:66:6: isInteractive redeclared in this block previous declaration at ../../kardianos/service/service_aix.go:75:29

    github.com/lifei6671/mindoc/controllers

    controllers/AccountController.go:440:20: assignment mismatch: 2 variables but 1 values

huyingjun commented 4 years ago

我也是这个问题,楼主解决了吗 controllers/AccountController.go:440:20: assignment mismatch: 2 variables but 1 values

huyingjun commented 4 years ago

@lifei6671 大佬,老看看这个问题吧.

lifei6671 commented 4 years ago

很明显依赖库的版本有问题。@huyingjun 验证码的库有两个版本,你要下正确的版本。