package sqlite import ( "strings" ) func pathNameToFileName(pathname string) string { if strings.HasSuffix(pathname, "/") { pathname += "index.html" } return pathname }