storj/satellite/satellitedb/dbx/templates/golang.decl.tmpl
Jeff Wendling ffbc43d170 satellite/satellitedb/dbx: monitor the database calls
Change-Id: I9fbdc4a35fedfc7a1b4e1b630d2a3664b3218e67
2019-12-18 21:57:36 +00:00

7 lines
134 B
Cheetah

{{- define "decl" }}
func (obj *{{ .ReceiverBase }}Impl) {{ .Signature }} {
defer mon.Task()(&ctx)(&err)
{{ .Body }}
}
{{ end -}}