github.com/brycereitano/goa@v0.0.0-20170315073847-8ffa6c85e265/metrics_js.go (about) 1 // +build js 2 3 package goa 4 5 import ( 6 "time" 7 ) 8 9 // Not supported in gopherjs 10 func IncrCounter(key []string, val float32) { 11 // Do nothing 12 } 13 14 // Not supported in gopherjs 15 func MeasureSince(key []string, start time.Time) { 16 // Do nothing 17 }