Skip to content

Commit

Permalink
chore: move src/ -> internal/ (#29)
Browse files Browse the repository at this point in the history
Move code from src/ to internal/, since the code is only meant for use
within this module, per https://go.dev/doc/go1.4#internalpackages.
  • Loading branch information
julieqiu authored Oct 30, 2024
1 parent 3d6f990 commit bf12e54
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions generator/cmd/protoc-gen-gclient/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
"strings"
"time"

"github.com/googleapis/google-cloud-rust/generator/src/genclient"
"github.com/googleapis/google-cloud-rust/generator/src/genclient/translator/protobuf"
"github.com/googleapis/google-cloud-rust/generator/internal/genclient"
"github.com/googleapis/google-cloud-rust/generator/internal/genclient/translator/protobuf"
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/types/pluginpb"
)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"log/slog"
"strings"

"github.com/googleapis/google-cloud-rust/generator/src/genclient"
"github.com/googleapis/google-cloud-rust/generator/internal/genclient"
"github.com/iancoleman/strcase"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package rust
import (
"log/slog"

"github.com/googleapis/google-cloud-rust/generator/src/genclient"
"github.com/googleapis/google-cloud-rust/generator/internal/genclient"
"github.com/iancoleman/strcase"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import (
"fmt"
"strings"

"github.com/googleapis/google-cloud-rust/generator/src/genclient"
"github.com/googleapis/google-cloud-rust/generator/src/genclient/language/internal/golang"
"github.com/googleapis/google-cloud-rust/generator/src/genclient/language/internal/rust"
"github.com/googleapis/google-cloud-rust/generator/internal/genclient"
"github.com/googleapis/google-cloud-rust/generator/internal/genclient/language/internal/golang"
"github.com/googleapis/google-cloud-rust/generator/internal/genclient/language/internal/rust"
)

// language is a supported programming language of the generator.
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package protobuf
import (
"log/slog"

"github.com/googleapis/google-cloud-rust/generator/src/genclient"
"github.com/googleapis/google-cloud-rust/generator/internal/genclient"
"google.golang.org/genproto/googleapis/api/annotations"
"google.golang.org/protobuf/proto"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"log/slog"
"strings"

"github.com/googleapis/google-cloud-rust/generator/src/genclient"
"github.com/googleapis/google-cloud-rust/generator/src/genclient/language"
"github.com/googleapis/google-cloud-rust/generator/internal/genclient"
"github.com/googleapis/google-cloud-rust/generator/internal/genclient/language"
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/types/descriptorpb"
"google.golang.org/protobuf/types/pluginpb"
Expand Down

0 comments on commit bf12e54

Please sign in to comment.