Sign in
go
/
website
/
0b9a73dea9fd2b0ac1f81a64c7ab586e35cc3cc7
/
.
/
_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
}