|
78305a063a
|
feat: add config via args, log ListenAndServe error if any
|
2024-07-02 20:33:36 +04:00 |
|
|
94897e7711
|
chore(deps): go mod tidy
|
2024-07-02 20:15:29 +04:00 |
|
|
b1d2ba896c
|
refactor: move Sprintf-generation of url out of func args
allows much better debugging + some readability
|
2024-07-02 20:13:36 +04:00 |
|
|
f08b63fa61
|
fix: properly convert int to string
I'm new to Go, sorry.
Btw, IT WORKS NOW!!
|
2024-07-02 19:40:28 +04:00 |
|
|
453a6d3c71
|
fix: remove 200->None feature as go-sqlite3 can not process nulls
|
2024-07-02 19:37:55 +04:00 |
|
|
850fcc1051
|
refactor: add sendError function and replace duplicates
|
2024-07-02 19:22:32 +04:00 |
|
|
27a8c3d1d1
|
fix: convert ctx.Method() []byte to string
see similar commit 10d174f626
|
2024-07-02 19:14:30 +04:00 |
|
|
bc6490187d
|
feat: 404 on ErrNoRows, 500 on err != nil
|
2024-07-02 19:13:22 +04:00 |
|
|
459d10664a
|
fix: close stmt
|
2024-07-02 19:09:09 +04:00 |
|
|
10d174f626
|
fix: format port as %s, not %d (got []int in result)
|
2024-07-02 19:08:15 +04:00 |
|
|
af3d980252
|
fix: index out of bounds in parseHost
|
2024-07-02 18:57:42 +04:00 |
|
|
68a5f0d2e9
|
feat: gitignore
|
2024-07-02 18:50:33 +04:00 |
|
|
3d9e2e5eee
|
feat: add main functionality
|
2024-07-02 18:48:05 +04:00 |
|
|
3483046ef7
|
template: fasthttp
|
2024-07-02 15:24:08 +04:00 |
|