Skip to content

Commit de512b5

Browse files
committed
Rename pkg directory to internal
These functions are not intended as an external API, so internal/ is more approprate.
1 parent 91a262a commit de512b5

File tree

7 files changed

+2
-2
lines changed

7 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN go mod download
1313
COPY main.go main.go
1414
COPY api/ api/
1515
COPY controllers/ controllers/
16-
COPY pkg/ pkg/
16+
COPY internal/ internal/
1717

1818
# Build
1919
RUN CGO_ENABLED=0 go build -a -o manager main.go

controllers/minecraftserver_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package controllers
1919
import (
2020
"context"
2121
minecraftv1alpha1 "github.com/jameslaverack/minecraft-operator/api/v1alpha1"
22-
"github.com/jameslaverack/minecraft-operator/pkg/reconcile"
22+
"github.com/jameslaverack/minecraft-operator/internal/reconcile"
2323
corev1 "k8s.io/api/core/v1"
2424
"k8s.io/apimachinery/pkg/runtime"
2525
ctrl "sigs.k8s.io/controller-runtime"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)