Skip to content

Commit

Permalink
optimize struct size
Browse files Browse the repository at this point in the history
Signed-off-by: Dusan Malusev <dusan@dusanmalusev.dev>
  • Loading branch information
CodeLieutenant committed Mar 31, 2024
1 parent 4e4cb4e commit d31dedf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion databasesfx/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"time"

"github.com/golang-migrate/migrate/v4"

"github.com/golang-migrate/migrate/v4/source/iofs"
"github.com/jackc/pgx/v5/pgxpool"
"go.uber.org/fx"
Expand Down
2 changes: 1 addition & 1 deletion http/fiber/fiberfx/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import "github.com/gofiber/fiber/v2"

type (
appOptions struct {
cfg fiber.Config
afterCreate func(app *fiber.App)
cfg fiber.Config
}

Option func(opts *appOptions)
Expand Down
2 changes: 1 addition & 1 deletion http/fiber/fiberfx/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ type (
RouteOptions func(*routeOptions)

routeOptions struct {
prefix string
cb func(fiber.Router)
prefix string
}
)

Expand Down

0 comments on commit d31dedf

Please sign in to comment.