Skip to content

Commit

Permalink
feat: rename module to apigee-go-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
micovery committed Apr 17, 2024
1 parent 20579ff commit 9aba79f
Show file tree
Hide file tree
Showing 31 changed files with 56 additions and 56 deletions.
6 changes: 3 additions & 3 deletions cmd/apigee-go-gen/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
package main

import (
"github.com/micovery/apigee-yaml-toolkit/cmd/apigee-go-gen/render"
"github.com/micovery/apigee-yaml-toolkit/cmd/apigee-go-gen/transform"
"github.com/micovery/apigee-yaml-toolkit/pkg/flags"
"github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/render"
"github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform"
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/spf13/cobra"
"os"
"path/filepath"
Expand Down
8 changes: 4 additions & 4 deletions cmd/apigee-go-gen/render/bundle/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ package bundle
import (
"fmt"
"github.com/go-errors/errors"
v1 "github.com/micovery/apigee-yaml-toolkit/pkg/apigee/v1"
"github.com/micovery/apigee-yaml-toolkit/pkg/common/resources"
"github.com/micovery/apigee-yaml-toolkit/pkg/flags"
"github.com/micovery/apigee-yaml-toolkit/pkg/render"
v1 "github.com/micovery/apigee-go-gen/pkg/apigee/v1"
"github.com/micovery/apigee-go-gen/pkg/common/resources"
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/render"
"github.com/spf13/cobra"
"os"
"strings"
Expand Down
6 changes: 3 additions & 3 deletions cmd/apigee-go-gen/render/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
package render

import (
"github.com/micovery/apigee-yaml-toolkit/cmd/apigee-go-gen/render/bundle"
sharedflow "github.com/micovery/apigee-yaml-toolkit/cmd/apigee-go-gen/render/shared-flow"
"github.com/micovery/apigee-yaml-toolkit/cmd/apigee-go-gen/render/template"
"github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/render/bundle"
sharedflow "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/render/shared-flow"
"github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/render/template"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/apigee-go-gen/render/template/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package template
import (
"fmt"
"github.com/go-errors/errors"
"github.com/micovery/apigee-yaml-toolkit/pkg/common/resources"
"github.com/micovery/apigee-yaml-toolkit/pkg/flags"
"github.com/micovery/apigee-yaml-toolkit/pkg/render"
"github.com/micovery/apigee-go-gen/pkg/common/resources"
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/render"
"github.com/spf13/cobra"
"strings"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/apigee-go-gen/transform/bundle-to-yaml/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ package bundle_to_yaml

import (
"github.com/go-errors/errors"
"github.com/micovery/apigee-yaml-toolkit/pkg/bundle"
"github.com/micovery/apigee-yaml-toolkit/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/bundle"
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/spf13/cobra"
"strings"
)
Expand Down
12 changes: 6 additions & 6 deletions cmd/apigee-go-gen/transform/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
package transform

import (
bundle_to_yaml "github.com/micovery/apigee-yaml-toolkit/cmd/apigee-go-gen/transform/bundle-to-yaml"
sharedflow_to_yaml "github.com/micovery/apigee-yaml-toolkit/cmd/apigee-go-gen/transform/sharedflow-to-yaml"
xml_to_yaml "github.com/micovery/apigee-yaml-toolkit/cmd/apigee-go-gen/transform/xml-to-yaml"
yaml_to_bundle "github.com/micovery/apigee-yaml-toolkit/cmd/apigee-go-gen/transform/yaml-to-bundle"
yaml_to_sharedflow "github.com/micovery/apigee-yaml-toolkit/cmd/apigee-go-gen/transform/yaml-to-sharedflow"
yaml_to_xml "github.com/micovery/apigee-yaml-toolkit/cmd/apigee-go-gen/transform/yaml-to-xml"
bundle_to_yaml "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform/bundle-to-yaml"
sharedflow_to_yaml "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform/sharedflow-to-yaml"
xml_to_yaml "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform/xml-to-yaml"
yaml_to_bundle "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform/yaml-to-bundle"
yaml_to_sharedflow "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform/yaml-to-sharedflow"
yaml_to_xml "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform/yaml-to-xml"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/apigee-go-gen/transform/xml-to-yaml/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package xml_to_yaml
import (
"bufio"
"fmt"
"github.com/micovery/apigee-yaml-toolkit/pkg/utils"
"github.com/micovery/apigee-go-gen/pkg/utils"
"github.com/spf13/cobra"
"os"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/apigee-go-gen/transform/yaml-to-bundle/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ package yaml_to_bundle
import (
"fmt"
"github.com/go-errors/errors"
v1 "github.com/micovery/apigee-yaml-toolkit/pkg/apigee/v1"
"github.com/micovery/apigee-yaml-toolkit/pkg/flags"
v1 "github.com/micovery/apigee-go-gen/pkg/apigee/v1"
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/spf13/cobra"
"os"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion cmd/apigee-go-gen/transform/yaml-to-xml/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package yaml_to_xml
import (
"bufio"
"fmt"
"github.com/micovery/apigee-yaml-toolkit/pkg/utils"
"github.com/micovery/apigee-go-gen/pkg/utils"
"github.com/spf13/cobra"
"os"
)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

module github.com/micovery/apigee-yaml-toolkit
module github.com/micovery/apigee-go-gen

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion pkg/apigee/v1/apiproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package v1
import (
"fmt"
"github.com/gosimple/slug"
"github.com/micovery/apigee-yaml-toolkit/pkg/utils"
"github.com/micovery/apigee-go-gen/pkg/utils"
"path/filepath"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/apigee/v1/apiproxymodel.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"encoding/xml"
"fmt"
"github.com/go-errors/errors"
"github.com/micovery/apigee-yaml-toolkit/pkg/utils"
"github.com/micovery/apigee-yaml-toolkit/pkg/zip"
"github.com/micovery/apigee-go-gen/pkg/utils"
"github.com/micovery/apigee-go-gen/pkg/zip"
"gopkg.in/yaml.v3"
"net/url"
"os"
Expand Down
2 changes: 1 addition & 1 deletion pkg/apigee/v1/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package v1

import (
"fmt"
"github.com/micovery/apigee-yaml-toolkit/pkg/utils"
"github.com/micovery/apigee-go-gen/pkg/utils"
"path/filepath"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/apigee/v1/proxyendpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package v1

import (
"fmt"
"github.com/micovery/apigee-yaml-toolkit/pkg/utils"
"github.com/micovery/apigee-go-gen/pkg/utils"
"path/filepath"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/apigee/v1/targetendpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package v1

import (
"fmt"
"github.com/micovery/apigee-yaml-toolkit/pkg/utils"
"github.com/micovery/apigee-go-gen/pkg/utils"
"path/filepath"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/bundle/bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"bytes"
"fmt"
"github.com/go-errors/errors"
"github.com/micovery/apigee-yaml-toolkit/pkg/utils"
"github.com/micovery/apigee-yaml-toolkit/pkg/zip"
"github.com/micovery/apigee-go-gen/pkg/utils"
"github.com/micovery/apigee-go-gen/pkg/zip"
"gopkg.in/yaml.v3"
"io/fs"
"os"
Expand Down
4 changes: 2 additions & 2 deletions pkg/bundle/bundle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ package bundle
import (
"archive/zip"
"fmt"
v1 "github.com/micovery/apigee-yaml-toolkit/pkg/apigee/v1"
"github.com/micovery/apigee-yaml-toolkit/pkg/utils"
v1 "github.com/micovery/apigee-go-gen/pkg/apigee/v1"
"github.com/micovery/apigee-go-gen/pkg/utils"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"io"
Expand Down
2 changes: 1 addition & 1 deletion pkg/flags/setany.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package flags

import (
"github.com/go-errors/errors"
"github.com/micovery/apigee-yaml-toolkit/pkg/values"
"github.com/micovery/apigee-go-gen/pkg/values"
"strconv"
"strings"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/flags/setany_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package flags

import (
"fmt"
"github.com/micovery/apigee-yaml-toolkit/pkg/values"
"github.com/micovery/apigee-go-gen/pkg/values"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"testing"
Expand Down
2 changes: 1 addition & 1 deletion pkg/flags/setfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package flags

import (
"github.com/go-errors/errors"
"github.com/micovery/apigee-yaml-toolkit/pkg/values"
"github.com/micovery/apigee-go-gen/pkg/values"
"os"
"strings"
)
Expand Down
4 changes: 2 additions & 2 deletions pkg/flags/setgraphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ package flags
import (
"fmt"
"github.com/go-errors/errors"
"github.com/micovery/apigee-yaml-toolkit/pkg/parser"
"github.com/micovery/apigee-yaml-toolkit/pkg/values"
"github.com/micovery/apigee-go-gen/pkg/parser"
"github.com/micovery/apigee-go-gen/pkg/values"
"strings"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/flags/setgrpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ package flags
import (
"fmt"
"github.com/go-errors/errors"
"github.com/micovery/apigee-yaml-toolkit/pkg/parser"
"github.com/micovery/apigee-yaml-toolkit/pkg/values"
"github.com/micovery/apigee-go-gen/pkg/parser"
"github.com/micovery/apigee-go-gen/pkg/values"
"strings"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/flags/setjson.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"encoding/json"
"fmt"
"github.com/go-errors/errors"
"github.com/micovery/apigee-yaml-toolkit/pkg/values"
"github.com/micovery/apigee-go-gen/pkg/values"
"strings"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/flags/setoas.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ package flags
import (
"fmt"
"github.com/go-errors/errors"
"github.com/micovery/apigee-yaml-toolkit/pkg/parser"
"github.com/micovery/apigee-yaml-toolkit/pkg/values"
"github.com/micovery/apigee-go-gen/pkg/parser"
"github.com/micovery/apigee-go-gen/pkg/values"
"gopkg.in/yaml.v3"
"os"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion pkg/flags/setstring.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package flags

import (
"github.com/go-errors/errors"
"github.com/micovery/apigee-yaml-toolkit/pkg/values"
"github.com/micovery/apigee-go-gen/pkg/values"
"strings"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/flags/setstring_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package flags

import (
"fmt"
"github.com/micovery/apigee-yaml-toolkit/pkg/values"
"github.com/micovery/apigee-go-gen/pkg/values"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"testing"
Expand Down
2 changes: 1 addition & 1 deletion pkg/flags/values.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package flags

import (
"github.com/go-errors/errors"
"github.com/micovery/apigee-yaml-toolkit/pkg/values"
"github.com/micovery/apigee-go-gen/pkg/values"
"gopkg.in/yaml.v3"
"os"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/flags/values_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package flags

import (
"github.com/micovery/apigee-yaml-toolkit/pkg/values"
"github.com/micovery/apigee-go-gen/pkg/values"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"os"
Expand Down
4 changes: 2 additions & 2 deletions pkg/render/bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ package render

import (
"github.com/go-errors/errors"
"github.com/micovery/apigee-yaml-toolkit/pkg/apigee/v1"
"github.com/micovery/apigee-yaml-toolkit/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/apigee/v1"
"github.com/micovery/apigee-go-gen/pkg/flags"
"os"
"path/filepath"
)
Expand Down
4 changes: 2 additions & 2 deletions pkg/render/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
package render

import (
"github.com/micovery/apigee-yaml-toolkit/pkg/flags"
"github.com/micovery/apigee-yaml-toolkit/pkg/values"
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/values"
)

func NewCommonFlags() *CommonFlags {
Expand Down
4 changes: 2 additions & 2 deletions pkg/render/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"github.com/bmatcuk/doublestar/v4"
"github.com/go-errors/errors"
"github.com/gosimple/slug"
"github.com/micovery/apigee-yaml-toolkit/pkg/flags"
"github.com/micovery/apigee-yaml-toolkit/pkg/utils"
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/utils"
"google.golang.org/protobuf/types/descriptorpb"
"net/url"
"os"
Expand Down

0 comments on commit 9aba79f

Please sign in to comment.