1
0
mirror of https://github.com/beego/bee.git synced 2024-11-26 06:21:34 +00:00

Format code

This commit is contained in:
Laoliu 2016-11-01 16:27:44 +08:00
parent 4a44c8e5db
commit 5b5fed7041

View File

@ -64,7 +64,7 @@ var hproseMaingo = `package main
import (
"fmt"
"reflect"
"reflect"
"{{.Appname}}/models"
"github.com/hprose/hprose-golang/rpc"
@ -73,14 +73,14 @@ import (
)
func logInvokeHandler(
name string,
args []reflect.Value,
context rpc.Context,
next rpc.NextInvokeHandler) (results []reflect.Value, err error) {
fmt.Printf("%s(%v) = ", name, args)
results, err = next(name, args, context)
fmt.Printf("%v %v\r\n", results, err)
return
name string,
args []reflect.Value,
context rpc.Context,
next rpc.NextInvokeHandler) (results []reflect.Value, err error) {
fmt.Printf("%s(%v) = ", name, args)
results, err = next(name, args, context)
fmt.Printf("%v %v\r\n", results, err)
return
}
func main() {
@ -107,8 +107,8 @@ var hproseMainconngo = `package main
import (
"fmt"
"reflect"
"reflect"
"{{.Appname}}/models"
"github.com/hprose/hprose-golang/rpc"
@ -122,14 +122,14 @@ func init() {
}
func logInvokeHandler(
name string,
args []reflect.Value,
context rpc.Context,
next rpc.NextInvokeHandler) (results []reflect.Value, err error) {
fmt.Printf("%s(%v) = ", name, args)
results, err = next(name, args, context)
fmt.Printf("%v %v\r\n", results, err)
return
name string,
args []reflect.Value,
context rpc.Context,
next rpc.NextInvokeHandler) (results []reflect.Value, err error) {
fmt.Printf("%s(%v) = ", name, args)
results, err = next(name, args, context)
fmt.Printf("%v %v\r\n", results, err)
return
}
func main() {