Skip to content

Commit

Permalink
Imports
Browse files Browse the repository at this point in the history
  • Loading branch information
AnCh7 committed Mar 17, 2022
1 parent 10a9420 commit e41dbcc
Show file tree
Hide file tree
Showing 19 changed files with 28 additions and 33 deletions.
2 changes: 1 addition & 1 deletion bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gendoc_test
import (
"testing"

. "github.com/pseudomuto/protoc-gen-doc"
. "github.com/shipt/protoc-gen-doc"
"github.com/pseudomuto/protokit/utils"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/protoc-gen-doc/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"io"

gendoc "github.com/pseudomuto/protoc-gen-doc"
gendoc "github.com/shipt/protoc-gen-doc"
)

const helpMessage = `
Expand All @@ -24,7 +24,7 @@ protoc --doc_out=. --doc_opt=custom.tmpl,docs.txt protos/*.proto
EXAMPLE: Generate docs relative to source protos
protoc --doc_out=. --doc_opt=html,index.html,source_relative protos/*.proto
See https://github.com/pseudomuto/protoc-gen-doc for more details.
See https://github.com/shipt/protoc-gen-doc for more details.
`

// Version returns the currently running version of protoc-gen-doc
Expand Down
2 changes: 1 addition & 1 deletion cmd/protoc-gen-doc/flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"testing"

. "github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc"
. "github.com/shipt/protoc-gen-doc/cmd/protoc-gen-doc"
"github.com/stretchr/testify/require"
)

Expand Down
10 changes: 5 additions & 5 deletions cmd/protoc-gen-doc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
// protoc --doc_out=. --doc_opt=custom.tmpl,docs.txt protos/*.proto
//
// For more details, check out the README at https://github.com/pseudomuto/protoc-gen-doc
// For more details, check out the README at https://github.com/shipt/protoc-gen-doc
package main

import (
Expand All @@ -19,10 +19,10 @@ import (
"log"
"os"

gendoc "github.com/pseudomuto/protoc-gen-doc"
_ "github.com/pseudomuto/protoc-gen-doc/extensions/google_api_http" // imported for side effects
_ "github.com/pseudomuto/protoc-gen-doc/extensions/lyft_validate" // imported for side effects
_ "github.com/pseudomuto/protoc-gen-doc/extensions/validator_field" // imported for side effects
gendoc "github.com/shipt/protoc-gen-doc"
_ "github.com/shipt/protoc-gen-doc/extensions/google_api_http" // imported for side effects
_ "github.com/shipt/protoc-gen-doc/extensions/lyft_validate" // imported for side effects
_ "github.com/shipt/protoc-gen-doc/extensions/validator_field" // imported for side effects
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/protoc-gen-doc/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"testing"

. "github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc"
. "github.com/shipt/protoc-gen-doc/cmd/protoc-gen-doc"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
//
// protoc --doc_out=. --doc_opt=custom.tmpl,docs.txt protos/*.proto
//
// For more details, check out the README at https://github.com/pseudomuto/protoc-gen-doc
// For more details, check out the README at https://github.com/shipt/protoc-gen-doc
package gendoc
2 changes: 1 addition & 1 deletion extensions/envoyproxy_validate/envoyproxy_validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"

"github.com/envoyproxy/protoc-gen-validate/validate"
"github.com/pseudomuto/protoc-gen-doc/extensions"
"github.com/shipt/protoc-gen-doc/extensions"
)

// ValidateRule represents a single validator rule from the (validate.rules) method option extension.
Expand Down
4 changes: 2 additions & 2 deletions extensions/envoyproxy_validate/envoyproxy_validate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/envoyproxy/protoc-gen-validate/validate"
"github.com/golang/protobuf/proto"
"github.com/pseudomuto/protoc-gen-doc/extensions"
. "github.com/pseudomuto/protoc-gen-doc/extensions/lyft_validate"
"github.com/shipt/protoc-gen-doc/extensions"
. "github.com/shipt/protoc-gen-doc/extensions/lyft_validate"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion extensions/google_api_http/google_api_http.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package extensions
import (
"net/http"

"github.com/pseudomuto/protoc-gen-doc/extensions"
"github.com/shipt/protoc-gen-doc/extensions"
"google.golang.org/genproto/googleapis/api/annotations"
)

Expand Down
4 changes: 2 additions & 2 deletions extensions/google_api_http/google_api_http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"net/http"
"testing"

"github.com/pseudomuto/protoc-gen-doc/extensions"
. "github.com/pseudomuto/protoc-gen-doc/extensions/google_api_http"
"github.com/shipt/protoc-gen-doc/extensions"
. "github.com/shipt/protoc-gen-doc/extensions/google_api_http"
"github.com/stretchr/testify/require"
"google.golang.org/genproto/googleapis/api/annotations"
)
Expand Down
2 changes: 1 addition & 1 deletion extensions/lyft_validate/alias.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package extensions

import evp "github.com/pseudomuto/protoc-gen-doc/extensions/envoyproxy_validate"
import evp "github.com/shipt/protoc-gen-doc/extensions/envoyproxy_validate"

// ValidateRule represents a single validator rule from the (validate.rules) method option extension.
type ValidateRule = evp.ValidateRule
Expand Down
2 changes: 1 addition & 1 deletion extensions/validator_field/validator_field.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/golang/protobuf/proto"
"github.com/golang/protobuf/protoc-gen-go/descriptor"
validator "github.com/mwitkow/go-proto-validators"
"github.com/pseudomuto/protoc-gen-doc/extensions"
"github.com/shipt/protoc-gen-doc/extensions"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions extensions/validator_field/validator_field_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/golang/protobuf/proto"
validator "github.com/mwitkow/go-proto-validators"
"github.com/pseudomuto/protoc-gen-doc/extensions"
. "github.com/pseudomuto/protoc-gen-doc/extensions/validator_field"
"github.com/shipt/protoc-gen-doc/extensions"
. "github.com/shipt/protoc-gen-doc/extensions/validator_field"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion filters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
html "html/template"
"testing"

. "github.com/pseudomuto/protoc-gen-doc"
. "github.com/shipt/protoc-gen-doc"
"github.com/stretchr/testify/require"
)

Expand Down
7 changes: 1 addition & 6 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/pseudomuto/protoc-gen-doc
module github.com/shipt/protoc-gen-doc

go 1.17

Expand All @@ -18,16 +18,11 @@ require (

require (
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/davecgh/go-spew v1.1.0 // indirect
github.com/google/go-cmp v0.5.6 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/kr/pretty v0.1.0 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/crypto v0.0.0-20220214200702-86341886e292 // indirect
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
)
2 changes: 1 addition & 1 deletion plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/golang/protobuf/proto"
plugin_go "github.com/golang/protobuf/protoc-gen-go/plugin"
. "github.com/pseudomuto/protoc-gen-doc"
. "github.com/shipt/protoc-gen-doc"
"github.com/pseudomuto/protokit/utils"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion renderer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"testing"

. "github.com/pseudomuto/protoc-gen-doc"
. "github.com/shipt/protoc-gen-doc"
"github.com/pseudomuto/protokit"
"github.com/pseudomuto/protokit/utils"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion template.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"

"github.com/golang/protobuf/protoc-gen-go/descriptor"
"github.com/pseudomuto/protoc-gen-doc/extensions"
"github.com/shipt/protoc-gen-doc/extensions"
"github.com/pseudomuto/protokit"
)

Expand Down
4 changes: 2 additions & 2 deletions template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

"github.com/golang/protobuf/proto"
"github.com/golang/protobuf/protoc-gen-go/descriptor"
. "github.com/pseudomuto/protoc-gen-doc"
"github.com/pseudomuto/protoc-gen-doc/extensions"
. "github.com/shipt/protoc-gen-doc"
"github.com/shipt/protoc-gen-doc/extensions"
"github.com/pseudomuto/protokit"
"github.com/pseudomuto/protokit/utils"
"github.com/stretchr/testify/require"
Expand Down

0 comments on commit e41dbcc

Please sign in to comment.