Skip to content

Commit

Permalink
Move libraries from internal to pkg (#11)
Browse files Browse the repository at this point in the history
* Move libraries to make them public so other packages (like GCB) can depend on.
  • Loading branch information
Aleromerog authored Sep 5, 2023
1 parent a0aef18 commit 52865e1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cmd/auth/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
Expand All @@ -22,8 +22,8 @@ import (
"strings"
"time"

"github.com/GoogleCloudPlatform/artifact-registry-go-tools/internal/auth"
"github.com/GoogleCloudPlatform/artifact-registry-go-tools/internal/netrc"
"github.com/GoogleCloudPlatform/artifact-registry-go-tools/pkg/auth"
"github.com/GoogleCloudPlatform/artifact-registry-go-tools/pkg/netrc"
)

const help = `
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion internal/netrc/netrc.go → pkg/netrc/netrc.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"path"
"regexp"

"github.com/GoogleCloudPlatform/artifact-registry-go-tools/internal/auth"
"github.com/GoogleCloudPlatform/artifact-registry-go-tools/pkg/auth"
)

var arTokenConfigRegexp = regexp.MustCompile("machine (.*go.pkg.dev)\nlogin oauth2accesstoken\npassword (.*)")
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 52865e1

Please sign in to comment.