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