package tpl var LogicFile = `package {methodName} import ( "context" {import} "git.apinb.com/bsm-sdk/core/service" ) {comment} func {func}(ctx context.Context, in *pb.{input}) (reply *pb.{output},err error) { // parse authorization meta. _, err = service.ParseMetaCtx(ctx, nil) if err != nil { return nil, err } // TODO: add your logic code & delete this line. return } `