1
0
mirror of https://github.com/golang/go synced 2024-11-26 11:48:03 -07:00

cmd/api: allow addition of API

R=bradfitz, rsc
CC=golang-dev
https://golang.org/cl/5991081
This commit is contained in:
Shenghou Ma 2012-04-10 22:12:09 +08:00
parent 3d462449f6
commit edf8b03fef

View File

@ -147,7 +147,7 @@ func main() {
changes = true
case len(v1) == 0 || v1[0] > v2[0]:
fmt.Fprintf(bw, "+%s\n", take(&v2))
changes = true
// we allow API additions now
default:
take(&v1)
take(&v2)