Skip to content

Commit 0011416

Browse files
authored
refactor: move package from internal/sideflip to internal/ (#3000)
Now that legacy librarian packages live in internal/legacylibrarian/, move packages from internal/sideflip up on level.
1 parent bd4c4b6 commit 0011416

File tree

12 files changed

+9
-9
lines changed

12 files changed

+9
-9
lines changed

cmd/sideflip/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ import (
2020
"log/slog"
2121
"os"
2222

23-
"github.com/googleapis/librarian/internal/sideflip/sideflip"
23+
"github.com/googleapis/librarian/internal/librarian"
2424
)
2525

2626
func main() {
2727
ctx := context.Background()
28-
if err := sideflip.Run(ctx, os.Args[1:]...); err != nil {
29-
slog.Error("sideflip command failed", "err", err)
28+
if err := librarian.Run(ctx, os.Args[1:]...); err != nil {
29+
slog.Error("librarian command failed", "err", err)
3030
os.Exit(1)
3131
}
3232
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

internal/sideflip/internal/rust/codec.go renamed to internal/language/internal/rust/codec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ package rust
1717
import (
1818
"strings"
1919

20-
"github.com/googleapis/librarian/internal/sideflip/config"
20+
"github.com/googleapis/librarian/internal/config"
2121
sidekickconfig "github.com/googleapis/librarian/internal/sidekick/config"
2222
)
2323

internal/sideflip/internal/rust/codec_test.go renamed to internal/language/internal/rust/codec_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"testing"
1919

2020
"github.com/google/go-cmp/cmp"
21-
"github.com/googleapis/librarian/internal/sideflip/config"
21+
"github.com/googleapis/librarian/internal/config"
2222
sidekickconfig "github.com/googleapis/librarian/internal/sidekick/config"
2323
)
2424

internal/sideflip/sideflip/sideflip.go renamed to internal/librarian/sideflip.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
// Package sideflip provides functionality for onboarding, generating and
15+
// Package librarian provides functionality for onboarding, generating and
1616
// releasing Google Cloud client libraries.
17-
package sideflip
17+
package librarian
1818

1919
import (
2020
"context"

internal/sideflip/sideflip/version.go renamed to internal/librarian/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package sideflip
15+
package librarian
1616

1717
import (
1818
_ "embed"

0 commit comments

Comments
 (0)