Sign in
go
/
website
/
0a7f3785817805ba0861a5d107ffb23bd2c1ebea
/
.
/
_content
/
talks
/
2014
/
readability
/
long-line-short.go
blob: 1b91da956bc31f3318b9eda5a8a7a70bafd52b48 [
file
] [
log
] [
blame
]
// +build ignore,OMIT
package sampling
import (
spb "foo/bar/service_proto"
)
type Server struct {
// some fields
}
func (s *Server) SampleMetrics(req *spb.Request, resp *spb.Response, latency time.Duration) {
// HL
// some code
}