Code cleanup and formatting

This commit is contained in:
KS Jannette
2026-05-19 04:09:33 -04:00
parent f67d57fedf
commit 2e30da54e2
9 changed files with 11 additions and 14 deletions

View File

@@ -5,7 +5,6 @@ import (
"github.com/pkg/errors"
)
// Config represents the application configuration.
type Config struct {
API struct {
Port int `envconfig:"API_PORT" default:"3000"`
@@ -16,7 +15,6 @@ type Config struct {
}
}
// NewConfig creates a new initialised application Config.
func NewConfig() (*Config, error) {
var config Config