pongo2
pongo2 copied to clipboard
Not compatible with GCCGO 13.0.0
Error when compiling with gccgo:
# github.com/flosch/pongo2/v6
../../go/pkg/mod/github.com/flosch/pongo2/[email protected]/template_loader.go:8:7: error: import file ‘io/fs’ not found
8 | "io/fs"
| ^
../../go/pkg/mod/github.com/flosch/pongo2/[email protected]/template_loader.go:18:7: error: expected package
18 | fs fs.FS
| ^
../../go/pkg/mod/github.com/flosch/pongo2/[email protected]/template_loader.go:21:23: error: expected package
21 | func NewFSLoader(fs fs.FS) *FSLoader {
| ^
../../go/pkg/mod/github.com/flosch/pongo2/[email protected]/context.go:28:25: error: use of undefined type ‘any’
28 | type Context map[string]any
That seems to be because gccgo is based on an older version of Go that this project isn't compatible with