Comments (4)
It only happens when the first letter of the service name is capital, otherwise it does not.
Here is output of my go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/faith/.cache/go-build"
GOENV="/home/faith/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/faith/Go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build189892159=/tmp/go-build -gno-record-gcc-switches"
Oh, I can reproduce it,I will fix it as soon as possible, thanks! :)
from kit.
@jack17529 Hi,I'm sorry to solve it so long,I test it and update it on the master branch, please update, thanks :)
from kit.
When I use the command to make a new service
kit new service XYZ
I get the error
exit status 2 ERRO[0000] exit status 2
Please help
Hi, I can not reproduce your problem, could you show me your go env ?
I run it on my mac and the go env is below:
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/zy/Library/Caches/go-build"
GOENV="/Users/zy/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/zy/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.13.1/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.13.1/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/_9/nstx65510m98m898c7qxn8600000gn/T/go-build241633003=/tmp/go-build -gno-record-gcc-switches -fno-common"
from kit.
It only happens when the first letter of the service name is capital, otherwise it does not.
Here is output of my go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/faith/.cache/go-build"
GOENV="/home/faith/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/faith/Go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build189892159=/tmp/go-build -gno-record-gcc-switches"
from kit.
Related Issues (20)
- A typo HOT 1
- Could kit allow to specify the path of the pb directory? HOT 5
- Why not encode/decode endpoint req&rsp as a pointer type? HOT 3
- real life files structure HOT 3
- Does the tool require an operating system? HOT 3
- Incorect import when using go modules with full project name HOT 2
- ERRO[0000] exit status 1 HOT 4
- ERRO[0000] exit status 1 HOT 20
- what does stringArray mean? HOT 4
- New a service with snake case name inccluding - but output is _ HOT 1
- choose a protoc-gen-go version HOT 1
- translate README.md to Chinese
- hello, there are some bugs when I used "kit g s hello --dmw" command. HOT 7
- 将文章移至项目内维护 HOT 3
- I am new to go and would like to understand what the _gen files are for?
- Crashed when running command "docker-compose up" HOT 2
- Issue for creating one gRPC service as client for other gRPC service
- how to use http get method in http/handler
- command not found: kit HOT 1
- Add support to generate from .proto only
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kit.