diff --git a/doc/go_spec.html b/doc/go_spec.html index 9eebc7a258..cc37512a74 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1503,19 +1503,17 @@ to a new type. TODO: what exactly is a "new type"?
TypeDecl = "type" ( TypeSpec | "(" [ TypeSpecList ] ")" ) .
TypeSpecList = TypeSpec { ";" TypeSpec } [ ";" ] .
-TypeSpec = identifier ( Type | "struct" | "interface" ) .
+TypeSpec = identifier Type .
-type IntArray [16] int
+type IntArray [16]int
type (
Point struct { x, y float };
Polar Point
)
-type Comparable interface
-
type TreeNode struct {
left, right *TreeNode;
value *Comparable;