go-development

star 0

Use for go/golang coding.

poteto0 By poteto0 schedule Updated 2/13/2026

name: go-development description: Use for go/golang coding.

Golang Coding

Overview

This skill define go/golang coding. References latest golang's features w/o web-searching.

v1.26

  • The built-in new function,

    type Player struct {
      Name string
      BestScore *int
    }
    
    func newPlayer(name string, score int) *Player {
      return &Player{
        Name: name,
        BestScore: new(score),
      }
    }
    
  • The restriction that a generic type

    type Adder[A Adder[A]] interface {
      Add(A) A
    }
    
    func algo[A Adder[A]](x, y A) A {
      return x.Add(y)
    }
    
Install via CLI
npx skills add https://github.com/poteto0/go-nba-sdk --skill go-development
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator