Skip to content

Instantly share code, notes, and snippets.

@ammario
Created January 15, 2024 22:11
Show Gist options
  • Save ammario/cb0cf242f4856db1ec4423c8b08d9e30 to your computer and use it in GitHub Desktop.
Save ammario/cb0cf242f4856db1ec4423c8b08d9e30 to your computer and use it in GitHub Desktop.
goto statements in Go stdlib
[
{
"directory": "src/syscall",
"count": 119
},
{
"directory": "src/runtime",
"count": 93
},
{
"directory": "src/internal/types/testdata/check",
"count": 80
},
{
"directory": "src/cmd/compile/internal/types2",
"count": 45
},
{
"directory": "src/go/types",
"count": 42
},
{
"directory": "src/regexp",
"count": 24
},
{
"directory": "src/cmd/internal/obj/x86",
"count": 24
},
{
"directory": "src/cmd/compile/internal/syntax",
"count": 17
},
{
"directory": "src/index/suffixarray",
"count": 16
},
{
"directory": "src/debug/dwarf",
"count": 15
},
{
"directory": "src/cmd/compile/internal/ssa",
"count": 15
},
{
"directory": "src/net",
"count": 11
},
{
"directory": "src/cmd/compile/internal/typecheck",
"count": 10
},
{
"directory": "src/net/http",
"count": 7
},
{
"directory": "src/compress/flate",
"count": 7
},
{
"directory": "src/cmd/go/internal/load",
"count": 7
},
{
"directory": "src/strconv",
"count": 6
},
{
"directory": "src/go/constant",
"count": 6
},
{
"directory": "src/cmd/go/internal/modindex",
"count": 6
},
{
"directory": "src/internal/xcoff",
"count": 5
},
{
"directory": "src/go/scanner",
"count": 5
},
{
"directory": "src/cmd/link/internal/ppc64",
"count": 5
},
{
"directory": "src/cmd/internal/obj/arm64",
"count": 4
},
{
"directory": "src/cmd/go/internal/work",
"count": 3
},
{
"directory": "src/cmd/cover/testdata",
"count": 3
},
{
"directory": "src/math/rand",
"count": 2
},
{
"directory": "src/math",
"count": 2
},
{
"directory": "src/go/printer",
"count": 2
},
{
"directory": "src/cmd/pack",
"count": 2
},
{
"directory": "src/cmd/link/internal/ld",
"count": 2
},
{
"directory": "src/text/template/parse",
"count": 1
},
{
"directory": "src/text/scanner",
"count": 1
},
{
"directory": "src/strings",
"count": 1
},
{
"directory": "src/runtime/testdata/testprog",
"count": 1
},
{
"directory": "src/os",
"count": 1
},
{
"directory": "src/internal/zstd",
"count": 1
},
{
"directory": "src/internal/trace",
"count": 1
},
{
"directory": "src/internal/bytealg",
"count": 1
},
{
"directory": "src/image/jpeg",
"count": 1
},
{
"directory": "src/go/doc/comment",
"count": 1
},
{
"directory": "src/encoding/xml",
"count": 1
},
{
"directory": "src/database/sql",
"count": 1
},
{
"directory": "src/cmd/internal/obj/mips",
"count": 1
},
{
"directory": "src/cmd/go/internal/str",
"count": 1
},
{
"directory": "src/cmd/go/internal/modload",
"count": 1
},
{
"directory": "src/cmd/compile/internal/types",
"count": 1
},
{
"directory": "src/cmd/asm/internal/asm",
"count": 1
},
{
"directory": "src/bytes",
"count": 1
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment