GrantZheng / kit

GoKit CLI
MIT License
268 stars 54 forks source link

New a service with snake case name inccluding - but output is _ #20

Open moecasts opened 3 years ago

moecasts commented 3 years ago

When I new a service with this

kit n s hello-world -m github.com/example/hello-world

this will create a service called hello_world, and github.com/example/hello_world in go.mod.

It should be hello-world and github.com/example/hello-world in go.mod.

GrantZheng commented 3 years ago

When I new a service with this

kit n s hello-world -m github.com/example/hello-world

this will create a service called hello_world, and github.com/example/hello_world in go.mod.

It should be hello-world and github.com/example/hello-world in go.mod.

Sorry,not support