Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix problem not starting with appengine (#1163)
  • Loading branch information
Jumpei authored and Raphaël Simon committed Apr 4, 2017
1 parent 0b2e05f commit d0fae3b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion metrics.go
@@ -1,4 +1,4 @@
// +build !js
// +build !js,!appengine

package goa

Expand Down
17 changes: 17 additions & 0 deletions metrics_appengine.go
@@ -0,0 +1,17 @@
// +build appengine

package goa

import (
"time"
)

// Not supported in Google App Engine
func IncrCounter(key []string, val float32) {
// Do nothing
}

// Not supported in Google App Engine
func MeasureSince(key []string, start time.Time) {
// Do nothing
}

0 comments on commit d0fae3b

Please sign in to comment.