xuqingfeng / mailman

Web email client supporting HTML template and SMTP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go 1.9 启动报错

lescpsn opened this issue · comments

$ go version
go version go1.9.1 windows/amd64

$ go run main.go

command-line-arguments

.\main.go:512:16: undefined: Asset
.\main.go:527:16: undefined: Asset
.\main.go:542:16: undefined: Asset
.\main.go:552:16: undefined: Asset
.\main.go:568:16: undefined: Asset

Hi @lescpsn, I'm using go-bindata to embed some static files.

To start mailman using go run, you need to append another file:

# for example
go run main.go bindata.go --help

If you are using go get to install, you can use mailman binary directly.

Anyway, this tool hasn't been updated for a while. I need spend some time to do some refactoring.