Moved around more code. Implemented more sqlc. Added support to generate swagger.

Added support for profiling. Removed the pkg module altogether.
Everything except old sync is now using code generated by sqlc.
This commit is contained in:
2025-01-15 16:04:14 +01:00
parent db8214cb02
commit d653463f58
43 changed files with 947 additions and 1133 deletions

14
cmd/docs/swagger.yaml Normal file
View File

@@ -0,0 +1,14 @@
host: localhost:8080
info:
contact:
email: zarnor91@gmail.com
name: Sebastian Olsson
description: This is a sample server Petstore server.
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: http://swagger.io/terms/
title: Swagger Example API
version: "0.5"
paths: {}
swagger: "2.0"