mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-20 22:45:09 +00:00
Delete unnecessary services
This commit is contained in:
15
store/main.go
Normal file
15
store/main.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"example/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