refactor: déplacer fichiers go source vers pkg/ et cmd/

Déplacer public/ et templates/ vers ui/ et ui/public/

Bump projet à v3, API toujours v1
This commit is contained in:
Victor Lacasse-Beaudoin 2024-09-27 20:25:12 -04:00
parent e46033d4a9
commit 7d4a747774
107 changed files with 68 additions and 107 deletions

19
pkg/agecemorg/version.go Normal file
View file

@ -0,0 +1,19 @@
package agecemorg
// Filled by build flag
var version string
/*
Version returns the application version
Example command to use the output of `git describe` for version number at build time:
$ go build -ldflags="-X 'git.agecem.com/agecem/agecem-org/pkg/agecemorg/version.version=`git describe`'" .
*/
func Version() string {
if version == "" {
return "version unknown"
}
return version
}