1
0
mirror of https://github.com/golang/go synced 2024-10-01 01:28:32 -06:00
The Go programming language
Go to file
Russ Cox 78547ca132 time: do not segment time strings by character class.
instead use pure substring matching to find template values.

this makes stdZulu unnecessary and allows formats
like "20060102 030405" (used in some internet protocols).

this makes Parse not handle years < 0000 or > 9999 anymore.
that seems like an okay price to pay, trading hypothetical
functionality for real functionality.

also changed the comments on the Time struct to use the
same reference date as the format and parse routines.

R=r
CC=golang-dev
https://golang.org/cl/833045
2010-03-30 14:54:32 -07:00
doc Effective Go: update maps description regarding lookup of nonexistent entry. 2010-03-30 11:21:50 -07:00
include Fix *l/*c -V flag segfault 2010-02-08 11:53:27 -08:00
lib godoc: show relative file names without leading '/' (per r's request) 2010-03-24 16:28:59 -07:00
misc misc/bbedit: support for cmplx, real, imag 2010-03-16 13:26:34 -07:00
pkg more description 2009-10-15 23:08:46 -07:00
src time: do not segment time strings by character class. 2010-03-30 14:54:32 -07:00
test simplify various code using new map index rule 2010-03-30 10:51:11 -07:00
.hgignore runtime: add GOROOT and Version 2010-03-16 23:10:33 -07:00
.hgtags release.2010-03-22 part two 2010-03-23 14:18:57 +11:00
AUTHORS contributors, authors: add Risto Saarelma 2010-03-30 11:46:06 -07:00
CONTRIBUTORS contributors, authors: add Risto Saarelma 2010-03-30 11:46:06 -07:00
favicon.ico add a favicon plus a couple of hi-res versions of gordon 2009-10-26 10:13:07 -07:00
LICENSE Add an explicit patent grant to the Go license. 2010-01-25 15:39:32 -08:00
README add a README file, so that if someone finds a 2009-11-08 09:57:37 -08:00

This is the source code repository for the Go programming language.  

For documentation about how to install and use Go,
visit http://golang.org/ or load doc/install.html in your web browser.

After installing Go, you can view a nicely formatted
doc/install.html by running godoc --http=:6060
and then visiting http://localhost:6060/doc/install.html.

Unless otherwise noted, the Go source files are distributed
under the BSD-style license found in the LICENSE file.