Skip to content

Commit 8d8ba1d

Browse files
author
Leonardo Schettini
committed
Remove pkg folder
Motivation: golang-standards/project-layout#117
1 parent fc05516 commit 8d8ba1d

7 files changed

+5
-7
lines changed

pkg/postgres/holdings.go postgres/holdings.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"fmt"
66

7-
"github.com/jackc/pgx/v4/pgx"
7+
"github.com/jackc/pgx/v4"
88
"github.com/leoschet/gaivota"
99
)
1010

pkg/postgres/investments.go postgres/investments.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"fmt"
66

7-
"github.com/jackc/pgx/v4/pgx"
7+
"github.com/jackc/pgx/v4"
88
"github.com/leoschet/gaivota"
99
)
1010

pkg/postgres/portfolios.go postgres/portfolios.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"fmt"
66

7-
"github.com/jackc/pgx/v4/pgx"
7+
"github.com/jackc/pgx/v4"
88
"github.com/leoschet/gaivota"
99
)
1010

File renamed without changes.

pkg/postgres/postgres.go postgres/postgres.go

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import (
44
"context"
55
"regexp"
66
"strings"
7-
8-
"github.com/jackc/pgx/v4/pgxpool"
97
)
108

119
var matchFirstCap = regexp.MustCompile("(.)([A-Z][a-z]+)")

pkg/postgres/users.go postgres/users.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"fmt"
66

7-
"github.com/jackc/pgx/v4/pgx"
7+
"github.com/jackc/pgx/v4"
88
"github.com/leoschet/gaivota"
99
)
1010

pkg/postgres/wallets.go postgres/wallets.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"fmt"
66

7-
"github.com/jackc/pgx/v4/pgx"
7+
"github.com/jackc/pgx/v4"
88
"github.com/leoschet/gaivota"
99
)
1010

0 commit comments

Comments
 (0)