823901b8ab
Configurations are separated in files in the folder config Connection to database by a package to import when needed Models will be in a model package for better maintenance Services access to the models Utils are tools or functions that can be used anywhere main.go cleaned a bit and other files modifications are there for the above modifications
7 lignes
Pas d'EOL
99 o
Go
7 lignes
Pas d'EOL
99 o
Go
package util
|
|
|
|
import "html/template"
|
|
|
|
func Safe(s string) template.URL {
|
|
return template.URL(s)
|
|
} |