Skip to content

Instantly share code, notes, and snippets.

@tzaffi
tzaffi / cross-repo-comparison.go
Last active November 17, 2024 10:25
Parse `go` AST and Compare Types without Reflection
package main
import (
"encoding/csv"
"fmt"
"go/ast"
"go/parser"
"go/token"
"log"
"os"
@asukakenji
asukakenji / go-stdlib-interface-selected.md
Last active October 29, 2025 08:09
Go (Golang) Standard Library Interfaces (Selected)

Go (Golang) Standard Library Interfaces (Selected)

This is not an exhaustive list of all interfaces in Go's standard library. I only list those I think are important. Interfaces defined in frequently used packages (like io, fmt) are included. Interfaces that have significant importance are also included.

All of the following information is based on go version go1.8.3 darwin/amd64.