web
web copied to clipboard
The easiest way to create web applications with Go
How to return json
Windows 10 x64, go version go1.11 windows/amd64 ``` go get github.com/hoisie/web ``` results in ``` ..\github.com\hoisie\web\ttycolors.go:25:24: cannot use syscall.Stdout (type syscall.Handle) as type int in argument to terminal.IsTerminal ```
Since the context package is part of standard library, I think we should support it. And web.go had a struct called Context and is used to passing values to handler,...
Fix the format error and let latest go compile can compile it. Bumped the go version in `.travis` file also, dropped old version go support, because some dependency package is...