Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# ![grapi](./grapi.png)
[![CI](https://github.com/izumin5210/grapi/workflows/CI/badge.svg)](https://github.com/izumin5210/grapi/actions?workflow=CI)
[![GoDoc](https://godoc.org/github.com/izumin5210/grapi/pkg/grapiserver?status.svg)](https://godoc.org/github.com/izumin5210/grapi/pkg/grapiserver)
[![Go Report Card](https://goreportcard.com/badge/github.com/izumin5210/grapi)](https://goreportcard.com/report/github.com/izumin5210/grapi)
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/izumin5210/grapi)](http://github.com/izumin5210/grapi/releases/latest)
[![license](https://img.shields.io/github/license/izumin5210/grapi.svg)](./LICENSE)
[![CI](https://github.com/x-izumin/grapi/workflows/CI/badge.svg)](https://github.com/x-izumin/grapi/actions?workflow=CI)
[![GoDoc](https://godoc.org/github.com/x-izumin/grapi/pkg/grapiserver?status.svg)](https://godoc.org/github.com/x-izumin/grapi/pkg/grapiserver)
[![Go Report Card](https://goreportcard.com/badge/github.com/x-izumin/grapi)](https://goreportcard.com/report/github.com/x-izumin/grapi)
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/x-izumin/grapi)](http://github.com/x-izumin/grapi/releases/latest)
[![license](https://img.shields.io/github/license/x-izumin/grapi.svg)](./LICENSE)

:open_mouth: A surprisingly easy API server and generator in gRPC and Go

Expand Down Expand Up @@ -253,7 +253,7 @@ $ grapi build
- macOS
- `brew install izumin5210/tools/grapi`
- others
- `go get github.com/izumin5210/grapi/cmd/grapi`
- `go get github.com/x-izumin/grapi/cmd/grapi`
1. **dep** or **Modules**
- [dep](https://golang.github.io/dep/)
- macOS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"github.com/srvc/appctx"

"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
)

func run() error {
Expand Down
20 changes: 10 additions & 10 deletions _tests/e2e/.snapshots/TestE2E_withModules--tools.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions _tests/e2e/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (

var (
grapiCmd = flag.String("grapi", "grapi", "path of grapi command")
grapiURL = flag.String("grapi-url", "", "url for replacing github.com/izumin5210/grapi")
grapiURL = flag.String("grapi-url", "", "url for replacing github.com/x-izumin/grapi")
revision = flag.String("revision", "", "target revision")
)

Expand Down Expand Up @@ -315,7 +315,7 @@ func updateServerImpl(t *testing.T, rootPath string) {
&ast.ImportSpec{
Path: &ast.BasicLit{
Kind: token.STRING,
Value: strconv.Quote("github.com/izumin5210/grapi/pkg/grapiserver"),
Value: strconv.Quote("github.com/x-izumin/grapi/pkg/grapiserver"),
},
},
&ast.ImportSpec{
Expand Down
4 changes: 2 additions & 2 deletions cmd/grapi-gen-command/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package main
import (
"github.com/spf13/cobra"

_ "github.com/izumin5210/grapi/cmd/grapi-gen-command/template"
"github.com/izumin5210/grapi/pkg/gencmd"
_ "github.com/x-izumin/grapi/cmd/grapi-gen-command/template"
"github.com/x-izumin/grapi/pkg/gencmd"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions cmd/grapi-gen-command/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (

"github.com/bradleyjkemp/cupaloy/v2"
"github.com/izumin5210/clig/pkg/clib"
"github.com/izumin5210/grapi/pkg/cli"
"github.com/izumin5210/grapi/pkg/gencmd"
gencmdtesting "github.com/izumin5210/grapi/pkg/gencmd/testing"
"github.com/izumin5210/grapi/pkg/grapicmd"
"github.com/spf13/afero"
"github.com/x-izumin/grapi/pkg/cli"
"github.com/x-izumin/grapi/pkg/gencmd"
gencmdtesting "github.com/x-izumin/grapi/pkg/gencmd/testing"
"github.com/x-izumin/grapi/pkg/grapicmd"
)

func TestCommand(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package foo
import (
"context"

"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package foo
import (
"context"

"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package foo
import (
"context"

"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"

"github.com/golang/protobuf/ptypes/empty"
"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package server
import (
"context"

"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package server
import (
"context"

"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package foo
import (
"context"

"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package server
import (
"context"

"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package server
import (
"context"

"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package server
import (
"context"

"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"

"github.com/golang/protobuf/ptypes/empty"
"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package server
import (
"context"

"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"

"github.com/golang/protobuf/ptypes/empty"
"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"

"github.com/golang/protobuf/ptypes/empty"
"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions cmd/grapi-gen-scaffold-service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/pkg/errors"
"github.com/spf13/cobra"

"github.com/izumin5210/grapi/pkg/gencmd"
"github.com/izumin5210/grapi/pkg/svcgen"
"github.com/x-izumin/grapi/pkg/gencmd"
"github.com/x-izumin/grapi/pkg/svcgen"
)

func main() {
Expand Down
14 changes: 7 additions & 7 deletions cmd/grapi-gen-scaffold-service/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import (
"github.com/spf13/afero"

"github.com/izumin5210/clig/pkg/clib"
"github.com/izumin5210/grapi/pkg/cli"
"github.com/izumin5210/grapi/pkg/gencmd"
gencmdtesting "github.com/izumin5210/grapi/pkg/gencmd/testing"
"github.com/izumin5210/grapi/pkg/grapicmd"
"github.com/izumin5210/grapi/pkg/protoc"
"github.com/izumin5210/grapi/pkg/svcgen"
svcgentesting "github.com/izumin5210/grapi/pkg/svcgen/testing"
"github.com/x-izumin/grapi/pkg/cli"
"github.com/x-izumin/grapi/pkg/gencmd"
gencmdtesting "github.com/x-izumin/grapi/pkg/gencmd/testing"
"github.com/x-izumin/grapi/pkg/grapicmd"
"github.com/x-izumin/grapi/pkg/protoc"
"github.com/x-izumin/grapi/pkg/svcgen"
svcgentesting "github.com/x-izumin/grapi/pkg/svcgen/testing"
)

func TestRun(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package foo
import (
"context"

"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package foo
import (
"context"

"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package foo
import (
"context"

"github.com/izumin5210/grapi/pkg/grapiserver"
"github.com/x-izumin/grapi/pkg/grapiserver"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading