Hi there.
I wasn't able to run some of your tests:
$ go test ./...
_/home/oceanfish81/go-guerrilla/mail
mail/envelope.go:163:42: conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
mail/envelope.go:163:68: conversion from uint64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
ok _/home/oceanfish81/go-guerrilla 32.565s
ok _/home/oceanfish81/go-guerrilla/backends 0.514s
? _/home/oceanfish81/go-guerrilla/backends/storage/redigo [no test files]
panic: send on closed channel
goroutine 36 [running]:
guerrilla.func2
/home/oceanfish81/go/src/github.com/flashmob/go-guerrilla/guerrilla.go:476
created by github.x2ecom..z2fflashmob..z2fgo..z2dguerrilla.guerrilla.Start
/home/oceanfish81/go/src/github.com/flashmob/go-guerrilla/guerrilla.go:473 +0x3d5
FAIL _/home/oceanfish81/go-guerrilla/cmd/guerrillad 1.197s
? _/home/oceanfish81/go-guerrilla/log [no test files]
FAIL _/home/oceanfish81/go-guerrilla/mail [build failed]
ok _/home/oceanfish81/go-guerrilla/mail/encoding 0.395s
ok _/home/oceanfish81/go-guerrilla/mail/iconv 0.406s
ok _/home/oceanfish81/go-guerrilla/mail/rfc5321 0.587s
? _/home/oceanfish81/go-guerrilla/mocks [no test files]
ok _/home/oceanfish81/go-guerrilla/response 0.426s
--- FAIL: TestStart (1.08s)
guerrilla_test.go:200: Server did not listen on 127.0.0.1:4654
guerrilla_test.go:203: Server did not listen on 127.0.0.1:2526
guerrilla_test.go:206: Server did not wait on 127.0.0.1:4654
guerrilla_test.go:209: Server did not wait on 127.0.0.1:2526
FAIL
FAIL _/home/oceanfish81/go-guerrilla/tests 5.621s
? _/home/oceanfish81/go-guerrilla/tests/testcert [no test files]
FAIL
I am using
$ go version
go version go1.15.2 gollvm LLVM 12.0.0git linux/amd64
and here is my environment:
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/oceanfish81/.cache/go-build"
GOENV="/home/oceanfish81/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/oceanfish81/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/oceanfish81/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/oceanfish81/gollvm_dist"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/oceanfish81/gollvm_dist/tools"
GCCGO="/home/oceanfish81/gollvm_dist/bin/llvm-goc"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build941428382=/tmp/go-build -gno-record-gcc-switches -funwind-tables"
Hi there.
I wasn't able to run some of your tests:
I am using
and here is my environment: