|
|
|
|
|
by azangru
40 days ago
|
|
I know it doesn't matter, but... ...who invented this letter-casing convention? import (
"embed"
"html/template"
"net/http"
)
//go:embed templates/*.html
var files embed.FS
var tmpl = template.Must(template.ParseFS(files, "templates/*.html"))
why is the name of a module lower-casedbut the names of functions accessed via its namespace upper-cased? how does this make sense? |
|