diff --git a/gen_web.go b/gen_web.go index d3add95..125b7ab 100644 --- a/gen_web.go +++ b/gen_web.go @@ -40,6 +40,7 @@ func main() { } return nil }) + sort.Strings(files) fmap := writeEmbed(srcGo+"template/html.go", files) writeRoute(srcGo+"template/route.go", fmap) }