Code Monkey home page Code Monkey logo

Comments (4)

raismaulana avatar raismaulana commented on July 19, 2024 1

Saya ada masalah install. Berikut langkah yang saya lalui:

  1. 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]
  2. Kemudian saya membuat sebuah projek di direktori ~/projek_golang/projek1/
  3. Selanjutnya membuat inisialiasi go.mod go mod init projek1 di direktori projek1
  4. 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.

raismaulana avatar raismaulana commented on July 19, 2024 1

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.

mirzaakhena avatar mirzaakhena commented on July 19, 2024

Hi @raismaulana

You can try just

go install

i will to fix the README for installation.

from gogen.

mirzaakhena avatar mirzaakhena commented on July 19, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.