]> git.giacomolli.uk - onechat/commit
Capitalize type names so variables can use them
authorAnderson A. Giacomolli <agiacomolli@gmail.com>
Sat, 7 Nov 2026 15:58:50 +0000 (12:58 -0300)
committerAnderson A. Giacomolli <agiacomolli@gmail.com>
Sat, 7 Nov 2026 15:58:50 +0000 (12:58 -0300)
commitfb242538c1b012b0faf3cc4045a9b1c370f1ef42
tree795b37dc9ee9f99b151d13b0b889bdb546f5b596
parent84fc815feb485b35eec53a8c7863c6770fc65e02
Capitalize type names so variables can use them

The go-code skill now asks for type names with a capital letter and for
all other package-level names in lower case. A lower-case type name
clashes with an import, such as a log type with the log package, and
with local variables that have the name of their type, such as a memory
variable of a memory type. A capital letter keeps both names free.
.agents/skills/go-code/SKILL.md