1
0
mirror of https://github.com/golang/go synced 2024-09-24 11:10:12 -06:00
go/doc
Russ Cox a6736cae30 spec: allow imported packages named main
Prior to this CL, there were two requirements about the
package name main.

1. The package that sits at the root of the import graph
   (the one where program execution begins)
   must be named main.

2. No other package in the program can be named main.

This CL only removes requirement #2, which can be done
without changing any other Go documentation.

The new wording and formatting is such that removing
requirement #1 can be done by deleting a single line,
but making that change is explicitly outside the scope
of this CL, because it would require changes to other
documentation at the same time.

R=gri, r, gri1
CC=golang-dev
https://golang.org/cl/4126053
2011-02-03 13:40:51 -05:00
..
codelab/wiki log: rename Exit* to Fatal* 2011-02-01 12:47:35 -08:00
codewalk doc/codewalk: update for changes in log package 2010-11-08 09:58:57 -08:00
devel release.2011-02-01 2011-02-02 10:59:59 +11:00
gopher rename 'gordon' to 'gopher' 2010-05-13 11:53:44 -07:00
progs doc/progs: make sure all programs compile and run 2011-01-31 14:41:36 -08:00
talks doc: add gofrontend paper to talks/ and docs.html 2010-12-03 11:47:33 +11:00
all.css godoc: show line numbers for non-go files (bug fix) 2011-01-20 10:43:55 -08:00
button_background.png golang.org redesign 2010-09-16 14:01:02 +10:00
code.html doc/code.html: fix reference to "gomake build" 2010-11-29 09:17:28 -08:00
codereview_with_mq.html doc: various changes for validating HTML 2010-08-30 09:58:27 +10:00
community.html golang.org redesign 2010-09-16 14:01:02 +10:00
contrib.html golang.org redesign 2010-09-16 14:01:02 +10:00
contribute.html doc: contribution copyright year 2011 2011-01-08 17:17:15 -08:00
docs.html doc: add golanguage.ru to foreign-language doc list 2011-01-07 09:34:13 +11:00
effective_go.html Effective Go: fix typo 2011-02-02 11:02:56 -08:00
ExpressivenessOfGo.pdf fix bug in example. need to convert Value to float in Abs example 2010-10-18 16:05:50 -07:00
frontpage.css doc: add Practical Go Programming to front page and docs.html 2010-12-03 06:57:30 +09:00
gccgo_contribute.html The gccgo frontend has moved to a new repository. 2010-01-29 16:37:20 -08:00
gccgo_install.html docs: float->float64 plus a couple of other tweaks. 2011-01-19 23:07:38 -05:00
go_faq.html faq: fix minor errors in programs reported by Wojciech Mikanik 2011-01-26 10:41:32 -08:00
go_for_cpp_programmers.html docs: float->float64 plus a couple of other tweaks. 2011-01-19 23:07:38 -05:00
go_mem.html typo 2010-12-14 11:33:17 -05:00
go_spec.html spec: allow imported packages named main 2011-02-03 13:40:51 -05:00
go_tutorial.html docs: float->float64 plus a couple of other tweaks. 2011-01-19 23:07:38 -05:00
go_tutorial.txt docs: float->float64 plus a couple of other tweaks. 2011-01-19 23:07:38 -05:00
go-logo-black.png godoc: style update. 2009-11-05 12:18:54 -08:00
go-logo-blue.png Update the styling of the godoc pages. 2009-11-03 19:59:45 -08:00
go-logo-white.png create doc/talks/. 2010-01-13 16:26:22 -08:00
GoCourseDay1.pdf pdf cleanup: fix links, remove internal references. 2009-11-02 15:28:41 -08:00
GoCourseDay2.pdf have http server in-line PDF files. 2009-10-21 19:52:11 -07:00
GoCourseDay3.pdf pdf cleanup: fix links, remove internal references. 2009-11-02 15:28:41 -08:00
godocs.js golang.org redesign 2010-09-16 14:01:02 +10:00
htmlgen.go log: rename Exit* to Fatal* 2011-02-01 12:47:35 -08:00
ie.css golang.org redesign 2010-09-16 14:01:02 +10:00
install.html Getting Started guide: update for new versions of Mercurial 2011-02-02 15:53:32 -08:00
logo-153x55.png new logo 2009-10-12 22:58:32 -07:00
logo.png golang.org redesign 2010-09-16 14:01:02 +10:00
Makefile build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
makehtml bye-bye to old makehtml. 2009-10-13 22:10:16 -07:00
play_overlay.png golang.org redesign 2010-09-16 14:01:02 +10:00
playground.html playground.html: filesystem is not a word. 2010-10-06 23:56:13 +02:00
popups.js godoc: initial support for showing popup information 2010-03-16 14:17:42 -07:00
prog.sh clean up the mess that copyright notices make 2009-10-13 17:17:30 -07:00
root.html doc: add Practical Go Programming to front page and docs.html 2010-12-03 06:57:30 +09:00
sieve.gif repair corrupted sieve.gif 2009-10-30 10:34:01 -07:00
video-001.png golang.org redesign 2010-09-16 14:01:02 +10:00
video-002.png golang.org redesign 2010-09-16 14:01:02 +10:00
video-003.png golang.org redesign 2010-09-16 14:01:02 +10:00
video-004.png doc: add Practical Go Programming to front page and docs.html 2010-12-03 06:57:30 +09:00