golang101-notembed.go 538 B

123456789101112131415161718192021222324
  1. //go:build !go1.16
  2. // +build !go1.16
  3. package main
  4. import "html/template"
  5. var staticFilesHandler = staticFilesHandler_NonEmbedding
  6. func collectPageGroups() map[string]*PageGroup {
  7. return collectPageGroups_NonEmbedding()
  8. }
  9. func loadArticleFile(group, file string) ([]byte, error) {
  10. return loadArticleFile_NonEmbedding(group, file)
  11. }
  12. func parseTemplate(commonPaths []string, files ...string) *template.Template {
  13. return parseTemplate_NonEmbedding(commonPaths, files...)
  14. }
  15. func updateGolang101() {
  16. updateGolang101_NonEmbedding()
  17. }