kit icon indicating copy to clipboard operation
kit copied to clipboard

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

Open moecasts opened this issue 3 years ago • 1 comments

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.

moecasts avatar Jun 28 '21 13:06 moecasts

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

GrantZheng avatar Jun 29 '21 05:06 GrantZheng