• Russ Cox's avatar
    spec: allow imported packages named main · a6736cae
    Russ Cox authored
    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
    a6736cae
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...