asciimoo / wuzz

Interactive cli tool for HTTP inspection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go install fialed

akkuman opened this issue · comments

codecat@codecat-HP:~/mycode/go/src/github.com/asciimoo/wuzz$ go install
# github.com/nwidger/jsoncolor
../../nwidger/jsoncolor/jsoncolor.go:225: enc.SetEscapeHTML undefined (type *json.Encoder has no field or method SetEscapeHTML)

my go version is go-1.6

having the same exact issue

Seems, jsoncolor repo fails somehow. I cannot reproduce with go 1.7. @nwidger do you have any idea?

Think it's probably from the jsoncolor packages recent commit.: nwidger/jsoncolor@3709c0e

@asciimoo SetEscapeHTML was added in Go 1.7: https://golang.org/pkg/encoding/json/#Encoder.SetEscapeHTML which means wuzz needs Go >= 1.7 installed to build.

What is the minimum Go version that wuzz is expected to support?

What is the minimum Go version that wuzz is expected to support?

Good question. Currently travis only tests go-1.7.5 and the latest go release.
What do you suggest?

I believe this commit fixes the issue and allows jsoncolor to build on older Go versions: nwidger/jsoncolor@75a6de4

confirmed, it works