bldg14 / eventual

A simple event calendar
https://eventual-client.fly.dev
MIT License
0 stars 0 forks source link

update structconf and fix breaking changes #54

Closed kevinfalting closed 5 months ago

kevinfalting commented 7 months ago

Overview

This just updates the structconf module.

Related Issues / PRs

53

Thought Process

go get github.com/kevinfalting/structconf
go mod tidy

The api changed and became simpler. This update also means we're not using command line flags for the configuration, which is fine for now.

Testing Steps

docker compose up -d                 # starts the psql server
go run ./cmd/eventual -h              # generates help text for flag
go run ./cmd/eventual -env local # runs the server

As long as it starts up fine, we're good.

docker compose down # shutdown the psql server

Risks

Low risk, if I didn't test this thoroughly enough, the deployment won't be configured correctly.