<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/cmd/api/main_test.go, branch makepkg</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=makepkg</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=makepkg'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2026-02-03T11:04:30Z</updated>
<entry>
<title>all: prealloc slice with possible minimum capabilities</title>
<updated>2026-02-03T11:04:30Z</updated>
<author>
<name>Shulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2024-10-25T17:48:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=011e40da85bddf83fee0ded83cb9115b7a88b3d4'/>
<id>urn:sha1:011e40da85bddf83fee0ded83cb9115b7a88b3d4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>go/*: use go/types.Func.Signature and go/ast.Preorder</title>
<updated>2025-02-20T03:25:33Z</updated>
<author>
<name>Daniel Martí</name>
<email>mvdan@mvdan.cc</email>
</author>
<published>2025-02-19T22:35:48Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=07a121383c52fc2edb96d4d58d1dd600bc3e7dfd'/>
<id>urn:sha1:07a121383c52fc2edb96d4d58d1dd600bc3e7dfd</id>
<content type='text'>
In the few obvious candidates that I found after a bit of grepping.

Change-Id: I36af79c46d29e4422bce1f43bbbac9db7de2001a
Reviewed-on: https://go-review.googlesource.com/c/go/+/650656
Reviewed-by: Alan Donovan &lt;adonovan@google.com&gt;
Auto-Submit: Alan Donovan &lt;adonovan@google.com&gt;
Commit-Queue: Alan Donovan &lt;adonovan@google.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>cmd: change from sort functions to slices functions</title>
<updated>2024-11-18T19:38:28Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2024-05-22T04:07:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=bb2a5f0556fd6bb4dbbce5eef2d6317d20796ade'/>
<id>urn:sha1:bb2a5f0556fd6bb4dbbce5eef2d6317d20796ade</id>
<content type='text'>
Doing this because the slices functions are slightly faster and
slightly easier to use. It also removes one dependency layer.

We did this outside of bootstrap tools in CL 587655.
Now that the bootstrap compiler is 1.22, we can do this in more code.

Change-Id: I9ed2dd473758cacd14f76a0639368523ccdff72f
Reviewed-on: https://go-review.googlesource.com/c/go/+/626038
Auto-Submit: Ian Lance Taylor &lt;iant@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Damien Neil &lt;dneil@google.com&gt;
</content>
</entry>
<entry>
<title>all: fix printf(var) mistakes detected by latest printf checker</title>
<updated>2024-09-04T18:16:59Z</updated>
<author>
<name>Alan Donovan</name>
<email>adonovan@google.com</email>
</author>
<published>2024-09-04T17:14:17Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=cd9a300afc0be43f7ad1891a18ed9b690f7f97ab'/>
<id>urn:sha1:cd9a300afc0be43f7ad1891a18ed9b690f7f97ab</id>
<content type='text'>
These will cause build failures once we vendor x/tools.

In once case I renamed a function err to errf to indicate
that it is printf-like.

Updates golang/go#68796

Change-Id: I04d57b34ee5362f530554b7e8b817f70a9088d12
Reviewed-on: https://go-review.googlesource.com/c/go/+/610739
Commit-Queue: Alan Donovan &lt;adonovan@google.com&gt;
Reviewed-by: Robert Findley &lt;rfindley@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Tim King &lt;taking@google.com&gt;
Auto-Submit: Alan Donovan &lt;adonovan@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/api: handle types.Alias</title>
<updated>2024-04-09T20:48:51Z</updated>
<author>
<name>Alan Donovan</name>
<email>adonovan@google.com</email>
</author>
<published>2024-04-09T19:35:11Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=bdd27c4debfb51fe42df0c0532c1c747777b7a32'/>
<id>urn:sha1:bdd27c4debfb51fe42df0c0532c1c747777b7a32</id>
<content type='text'>
This is covered by the existing tests under gotypesalias=1.

Change-Id: Ia17f35fe580b745fa4bdaf4689dfe9c2ed6ebc5b
Reviewed-on: https://go-review.googlesource.com/c/go/+/577735
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Auto-Submit: Alan Donovan &lt;adonovan@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/api: include type arguments in API</title>
<updated>2024-01-26T19:39:32Z</updated>
<author>
<name>Matthew Dempsky</name>
<email>mdempsky@google.com</email>
</author>
<published>2024-01-26T04:29:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=b6d1eb750f274d5637e5eb63f6e03706798f0444'/>
<id>urn:sha1:b6d1eb750f274d5637e5eb63f6e03706798f0444</id>
<content type='text'>
T[A] and T[B] are different types, but we were writing them both as
just "T". Reported by Russ.

Change-Id: I27db35946b6d3a1fad6c56c785fa6d850ad71d00
Reviewed-on: https://go-review.googlesource.com/c/go/+/558716
Reviewed-by: Robert Findley &lt;rfindley@google.com&gt;
Auto-Submit: Matthew Dempsky &lt;mdempsky@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>cmd/api: fix panic on exported basic type aliases</title>
<updated>2024-01-04T17:31:12Z</updated>
<author>
<name>Devon H. O'Dell</name>
<email>dhobsd@google.com</email>
</author>
<published>2024-01-04T16:49:17Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=15dcdeb5aacb4503e3d053f198bd4669d5cec2aa'/>
<id>urn:sha1:15dcdeb5aacb4503e3d053f198bd4669d5cec2aa</id>
<content type='text'>
The order of emitting named type and type aliases in the `Walker`'s
`emitType` function is inverted. When the type alias references a basic
type, this causes a panic as the type assertion on `*types.Named` fails.
This change reorders the logic such that type aliases are emitted prior
to this type assertion.

Fixes #64958

Change-Id: I52dbe13999978912ded788d9cf4948103869bcfa
Reviewed-on: https://go-review.googlesource.com/c/go/+/554076
Reviewed-by: Bryan Mills &lt;bcmills@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Bryan Mills &lt;bcmills@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/api: use api/next directory for beta versions</title>
<updated>2023-11-14T15:24:21Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2023-11-13T20:12:30Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=31f0af1e5ea7be0d332ca82d483b1ee6a727e089'/>
<id>urn:sha1:31f0af1e5ea7be0d332ca82d483b1ee6a727e089</id>
<content type='text'>
Even though we don't issue beta pre-releases of Go at this time,
it can still be useful to build them without publishing as part
of testing the release infrastructure.

For such versions, use the next directory content so that the
API check doesn't produce a false positive during the earlier
stages of the development cycle, before the next directory is
merged into a combined and eventually frozen api file.

For #29205.

Change-Id: Ib5e962670de1df22f7df64dd237b555953096808
Reviewed-on: https://go-review.googlesource.com/c/go/+/542000
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Heschi Kreinick &lt;heschi@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/api: don't try to parse JSON from stderr of go list</title>
<updated>2023-09-07T23:30:03Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2023-09-07T20:57:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=834a6f9a338b25543cb736ebef03488e8d30a839'/>
<id>urn:sha1:834a6f9a338b25543cb736ebef03488e8d30a839</id>
<content type='text'>
Just send the go list stderr to our stderr.

Change-Id: Iacda573bbe7accbcecb6a957e5d42b55afd10c58
Reviewed-on: https://go-review.googlesource.com/c/go/+/526775
Reviewed-by: Bryan Mills &lt;bcmills@google.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/api: rename api.go to main_test.go</title>
<updated>2023-08-16T16:02:26Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2023-08-16T15:18:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=5a3048bf0eefd2f99382a980f975d6a1fb6b921a'/>
<id>urn:sha1:5a3048bf0eefd2f99382a980f975d6a1fb6b921a</id>
<content type='text'>
This makes cmd/api no longer an importable package.
In CL 453258 I forgot that there was no direct prohibition
on importing packages from cmd - we just rely on the
fact that cmd/* is all package main and everything else
is cmd/internal.

Fixes #62069.

Change-Id: Ifed738d333b40663f85eca8f83025fcea5df89a9
Reviewed-on: https://go-review.googlesource.com/c/go/+/520038
Reviewed-by: Bryan Mills &lt;bcmills@google.com&gt;
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
</feed>
