Skip to content

Commit

Permalink
Move packages into internal
Browse files Browse the repository at this point in the history
  • Loading branch information
jveski committed Dec 16, 2023
1 parent ceaa588 commit ca3f346
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions hack/paypal-migration/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import (
"github.com/Nerzal/gocloak/v13"
"github.com/kelseyhightower/envconfig"

"github.com/TheLab-ms/profile/conf"
"github.com/TheLab-ms/profile/keycloak"
"github.com/TheLab-ms/profile/internal/conf"
"github.com/TheLab-ms/profile/internal/keycloak"
)

func main() {
Expand Down
File renamed without changes.
3 changes: 1 addition & 2 deletions keycloak/keycloak.go → internal/keycloak/keycloak.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/Nerzal/gocloak/v13"
"github.com/stripe/stripe-go/v75"

"github.com/TheLab-ms/profile/conf"
"github.com/TheLab-ms/profile/internal/conf"
)

var (
Expand Down Expand Up @@ -463,7 +463,6 @@ type User struct {
StripeSubscriptionID string
StripeCancelationTime int64
StripeETag int64
StripePaidUntilTime int64

LastPaypalTransactionPrice float64
LastPaypalTransactionTime time.Time
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import (
"github.com/stripe/stripe-go/v75/webhook"
"golang.org/x/time/rate"

"github.com/TheLab-ms/profile/conf"
"github.com/TheLab-ms/profile/keycloak"
"github.com/TheLab-ms/profile/stripeutil"
"github.com/TheLab-ms/profile/internal/conf"
"github.com/TheLab-ms/profile/internal/keycloak"
"github.com/TheLab-ms/profile/internal/stripeutil"
)

//go:embed assets/*
Expand Down

0 comments on commit ca3f346

Please sign in to comment.