imgk / caddy-trojan

Caddy module for trojan proxy
GNU General Public License v3.0
204 stars 46 forks source link

syntax error #14

Closed Gzxhwq closed 2 years ago

Gzxhwq commented 2 years ago

https://github.com/Gzxhwq/caddy-cloudflaredns/runs/5610293409?check_suite_focus=true

github.com/imgk/caddy-trojan/memory

/go/pkg/mod/github.com/imgk/caddy-trojan@v0.0.0-20220319045627-0efea8838f79/memory/alloc.go:4:14: syntax error: unexpected any, expecting ] /go/pkg/mod/github.com/imgk/caddy-trojan@v0.0.0-20220319045627-0efea8838f79/memory/alloc.go:9:17: syntax error: unexpected [, expecting comma or ) /go/pkg/mod/github.com/imgk/caddy-trojan@v0.0.0-20220319045627-0efea8838f79/memory/alloc.go:14:17: syntax error: unexpected [, expecting comma or ) /go/pkg/mod/github.com/imgk/caddy-trojan@v0.0.0-20220319045627-0efea8838f79/memory/alloc_go.go:7:6: missing function body /go/pkg/mod/github.com/imgk/caddy-trojan@v0.0.0-20220319045627-0efea8838f79/memory/alloc_go.go:7:11: syntax error: unexpected [, expecting ( /go/pkg/mod/github.com/imgk/caddy-trojan@v0.0.0-20220319045627-0efea8838f79/memory/alloc_go.go:12:6: missing function body /go/pkg/mod/github.com/imgk/caddy-trojan@v0.0.0-20220319045627-0efea8838f79/memory/alloc_go.go:12:10: syntax error: unexpected [, expecting (

imgk commented 2 years ago

Use go 1.18

Gzxhwq commented 2 years ago

OK. Let's wait for official docker builder update with Go 1.18