GithubHelp home page GithubHelp logo

Comments (5)

arne-cl avatar arne-cl commented on May 19, 2024 1

Hi @arbarlow,

that is a bit confusing, as lile new works with git repository names not go packages. (We have lots of golang repos at work with dashes in the repo names but underscores in the code base.)

Best regards,
Arne

from lile.

arne-cl avatar arne-cl commented on May 19, 2024

The issue seems to be the dash in repo name. If I use an underscore, it works:

$ lile new arne-cl/grpc_test
Creating project in /home/arne/go/src/github.com/arne-cl/grpc_test
Is this OK? [y]es/[n]o
y
.
├── server
│   ├── server.go
│   └── server_test.go
├── subscribers
│   └── subscribers.go
├── grpc_test
│   ├── cmd
│   │   ├── root.go
│   │   └── up.go
│   └── main.go
├── grpc_test.proto
├── client.go
├── Makefile
├── Dockerfile
└── .gitignore

from lile.

arbarlow avatar arbarlow commented on May 19, 2024

Hi @arne-cl, sure.

The issue that that go packages can't have - in them, we could either warn that this package name won't work, or we could generate an underscored name?

I feel we should probably warn

from lile.

arbarlow avatar arbarlow commented on May 19, 2024

Hi @arne-cl, I've just released v2, which should help with this! Please give it a go and see if it generates what you'd expect it to generate 😄

from lile.

arbarlow avatar arbarlow commented on May 19, 2024

hi @arne-cl, I haven't heard anything for a while so I'm closing this issue for now. Do let me know if it's still a problem!

from lile.

Related Issues (20)

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.