Comments (4)
Saya ada masalah install. Berikut langkah yang saya lalui:
- Saya install dulu pakai
go get github.com/mirzaakhena/gogen
, dari proses go get akan download dan build sehingga di direktori $GOPATH akan menghasilkan file dan direktori$GOPATH/bin/gogen
dan$GOPATH/pkg/mod/github.com/mirzaakhena/[email protected]
- Kemudian saya membuat sebuah projek di direktori
~/projek_golang/projek1/
- Selanjutnya membuat inisialiasi go.mod
go mod init projek1
di direktori projek1 - Kemudian, saya mengetik perintah
gogen init
dan terjadi error
stat /home/raiz/go/src/github.com/mirzaakhena/gogen/templates/default: no such file or directory
informasi tambahan:
$GOPATH = /home/raiz/go/
from gogen.
Nice, it's working now using the latest version. i don't need to go build
either, because go get
took care everything.
from gogen.
Hi @raismaulana
You can try just
go install
i will to fix the README for installation.
from gogen.
Sorry for late replay since i was very busy.
In the latest version ../gogen/templates/default should not used anymore. Since i already use embed
I already release the latest version. Maybe you can try it.
Also i already try to run in ubuntu (via docker since i am using mac)
i try go build to create an gogen executable and gogen init is success.
Anyway thanks for reporting this issue.
from gogen.
Related Issues (7)
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 gogen.