mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-19 22:15:24 +00:00
Moving cruftier services that are only used for tests under a test repo
This commit is contained in:
15
test/kv/main.go
Normal file
15
test/kv/main.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/micro/services/kv/handler"
|
||||
|
||||
"github.com/micro/micro/v3/service"
|
||||
)
|
||||
|
||||
func main() {
|
||||
srv := service.New(service.Name("example"))
|
||||
|
||||
srv.Handle(new(handler.Example))
|
||||
|
||||
srv.Run()
|
||||
}
|
||||
Reference in New Issue
Block a user