Skip to content
callcount

packages

Every package, by production calls

The 2,776 packages whose functions are ranked in this snapshot: 114 standard-library, 2,662 third-party. Open one to see its functions. Every count is production calls, outside tests and generated code.

the ranking

Package Prod calls
955,307
std fmt 16 fns
707,533
std strings 55 fns
362,325
323,706
std encoding/json 18 fns
266,047
254,600
std sync 29 fns
219,267
std time 62 fns
197,397
std net/http 71 fns
178,152
std context 15 fns
137,841
137,303
std reflect 88 fns
131,940
std errors 5 fns
127,715
std os 75 fns
125,571
113,170
90,298
std strconv 16 fns
79,454
std bytes 50 fns
68,188
62,460
61,763
std io 29 fns
59,733
std net/url 29 fns
59,516
std path/filepath 19 fns
58,773
53,672
53,139
52,590
49,130
46,582
std testing 31 fns
40,088
std log 18 fns
39,212
37,510
std net 68 fns
36,677
std sync/atomic 44 fns
32,739
32,413
30,644
std regexp 23 fns
30,025
29,959
ext k8s.io/klog/v2 25 fns
28,084
std log/slog 28 fns
26,822
std flag 41 fns
26,529
26,513
26,129
23,319
std io/fs 22 fns
23,203
std math 29 fns
22,366
22,018
21,893
std database/sql 40 fns
21,646
21,559
20,259
std os/exec 12 fns
19,163
std slices 23 fns
18,406
17,845
std net/netip 40 fns
17,124
std bufio 27 fns
17,038
16,655
std sort 9 fns
16,388
15,603
15,577
14,232
14,178
14,067
13,536
12,549
12,416
12,050
std path 8 fns
12,004
ext gorm.io/gorm 29 fns
11,922
11,798
11,474
11,261
11,042
10,882
10,658
10,301
9,750
std math/big 24 fns
9,571
9,437
9,389
std go/types 46 fns
9,367
9,355
9,168
9,045
8,861
8,847
8,736
8,408
8,392
8,378
8,246
8,053
7,642
7,572
7,280
7,144
std io/ioutil 7 fns
7,016
6,996
6,862
6,840
std math/rand 19 fns
6,798
6,736
6,498
std runtime 21 fns
6,436
6,227
6,175
6,135
6,096
6,087
5,835
5,698
5,594
5,413
5,313
5,212
5,178
5,059
5,042
4,955
4,861
4,855
std text/template 9 fns
4,814
4,682
4,660
4,653
4,635
4,633
std crypto/x509 18 fns
4,552
std hash 5 fns
4,547
std encoding/hex 5 fns
4,541
4,538
4,536
4,530
4,525
std container/list 10 fns
4,511
4,494
4,436
4,424
4,416
4,415
4,370
std image 16 fns
4,355
4,270
4,205
4,194
4,118
4,094
4,058
3,968
std maps 5 fns
3,923
3,877
3,863
3,862
3,831
3,821
3,786
3,771
3,751
3,588
3,587
3,529
3,506
3,471
3,471
3,468
3,409
3,401
3,348
3,338
3,338
std math/bits 10 fns
3,280
3,239
3,191
3,179
3,162
3,150
3,132
std unicode/utf8 10 fns
3,118
3,055
3,041
3,018
2,996
2,973
2,966
std unicode 11 fns
2,933
2,898
2,894
2,885
2,831
2,702
2,671
2,649
2,601
std crypto/sha256 2 fns
2,593
2,582
2,576
2,572
2,561
2,543
std go/ast 14 fns
2,525
2,500
2,486
2,466
2,463
std cmp 2 fns
2,459
2,442
2,427
2,423
2,421
2,417
2,383
2,369
2,367
2,358
2,355
2,355
2,327
2,306
2,301
2,301
2,291
2,276
2,272
2,259
2,256
2,249
2,248
2,211
2,207
2,191
2,176
2,173
std encoding/xml 10 fns
2,169
2,162
2,161
std crypto/cipher 12 fns
2,144
2,119
2,107
2,070
std compress/gzip 7 fns
2,041
2,031
2,029
2,027
2,009
2,006
1,998
1,989
std archive/tar 8 fns
1,988
1,961
1,952
1,940
1,939
1,931
std crypto/tls 10 fns
1,927
1,918
std html/template 7 fns
1,918
1,877
1,875
1,853
1,842
1,833
std encoding/pem 3 fns
1,823
1,819
1,814
1,798
1,795
1,794
1,787
1,785
1,775
1,769
1,765
std crypto/rand 2 fns
1,750
1,748
1,744
1,736
1,736
1,736
1,717
1,712
1,709
1,698
1,696
1,682
1,673
1,666
1,661
1,660
1,647
1,643
1,635
1,629
1,625
1,621
1,618
1,612
1,607
1,605
1,599
1,591
1,587

Showing the top 300 of 2,776 packages by production calls. Search any package by name up top, or open it directly.