package timeutils
import "github.com/dotcloud/docker/pkg/timeutils"
Index ¶
Constants ¶
const ( // RFC3339NanoFixed is our own version of RFC339Nano because we want one // that pads the nano seconds part with zeros to ensure // the timestamps are aligned in the logs. RFC3339NanoFixed = "2006-01-02T15:04:05.000000000Z07:00" // JSONFormat is the format used by FastMarshalJSON JSONFormat = `"` + time.RFC3339Nano + `"` )
Functions ¶
func FastMarshalJSON ¶
FastMarshalJSON avoids one of the extra allocations that time.MarshalJSON is making.
Source Files ¶
- Version
- v1.6.0-rc2
- Published
- Mar 25, 2015
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 2 minutes ago –
Tools for package owners.