github.com/justinjmoses/evergreen@v0.0.0-20170530173719-1d50e381ff0d/service/rest_locals.go (about)

     1  package service
     2  
     3  import (
     4  	"time"
     5  )
     6  
     7  const (
     8  	// The resolution of times stored in the database
     9  	TimePrecision = time.Millisecond
    10  )
    11  
    12  // Format of the JSON response when an error occurs
    13  type responseError struct {
    14  	Message string `json:"message"`
    15  }