Commit graph

7 commits

Author SHA1 Message Date
Christian Ditaputratama
0d72dd9995
build: Inject version when build the binaries
The version include git current commit and branch info.
2024-07-04 03:45:37 +07:00
ditatompel
3f5c0c9472
refactor: Lowercase & upperase initialism acronyms 2024-06-19 16:24:18 +07:00
ditatompel
e9cacb478c
feat: Allow user to specify custom .env location
Some checks failed
Build / build (push) Has been cancelled
Test / lint (push) Has been cancelled
This feature can also be useful for running tests in CI.
2024-06-18 04:23:08 +07:00
ditatompel
2270fe4deb
Secret key environment variable no longer needed 2024-05-23 03:57:29 +07:00
ditatompel
46bc3dc2e8
Using slog for logging level
The log level for the apps is using `log/slog` from Go standard library.
This commit change log format for fiber http logger to match with
the slog standard log format (date and time).

This commit also remove `APP_DEBUG` field from config struct.

TODO:
Use `slog` for default app output. Note that in this commit, the `slog`
output only implemented in `cron` "db migrate" and probe client.
2024-05-13 18:40:01 +07:00
ditatompel
8724b81431
Probe (client) check remote node
Please note that this commit is not complete. I commit to the repo
because I have something to do with my another project. Just don't
want to lost my work for the last couple hours.
2024-05-04 22:36:57 +07:00
ditatompel
ced266159e
Copying my other project structure to this project 2024-05-04 00:11:56 +07:00