github.com/ManabuSeki/goa-v1@v1.4.3/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 }