You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
269 B
17 lines
269 B
2 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
protoc_gen_kit "git.diulo.com/mogfee/protoc-gen-kit"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
app := protoc_gen_kit.New(
|
||
|
protoc_gen_kit.Name("user-server"),
|
||
|
protoc_gen_kit.Server())
|
||
|
fmt.Println("run start")
|
||
|
app.Run()
|
||
|
fmt.Println("run end")
|
||
|
app.Stop()
|
||
|
}
|