Skip to content
callcount

packages

Every package, by production calls

The 2,663 packages whose functions are ranked in this snapshot: 113 standard-library, 2,550 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
729,478
std strings 56 fns
375,873
333,677
std encoding/json 18 fns
269,953
254,600
std sync 29 fns
229,979
std time 62 fns
203,988
std net/http 72 fns
182,783
std context 15 fns
144,158
std errors 5 fns
138,280
137,303
std reflect 89 fns
135,126
std os 73 fns
129,241
114,419
94,391
std strconv 16 fns
81,260
std bytes 49 fns
69,960
63,669
63,396
std net/url 29 fns
62,170
std path/filepath 19 fns
61,163
std io 28 fns
60,536
53,672
52,590
52,427
49,130
48,617
std testing 33 fns
41,605
40,358
std log 18 fns
39,473
std net 66 fns
37,861
std sync/atomic 44 fns
36,203
35,885
31,496
31,304
std regexp 23 fns
30,656
29,055
ext k8s.io/klog/v2 25 fns
28,114
std log/slog 28 fns
28,070
27,623
std flag 40 fns
26,800
25,779
std io/fs 22 fns
24,303
std math 29 fns
24,249
23,730
std slices 24 fns
22,299
22,198
std database/sql 39 fns
20,720
20,259
std os/exec 12 fns
19,328
18,475
std net/netip 40 fns
18,257
ext gorm.io/gorm 34 fns
17,595
17,402
std bufio 27 fns
17,235
std sort 9 fns
16,878
16,655
16,074
16,005
14,572
14,503
14,454
14,190
13,658
12,481
12,422
std path 8 fns
12,372
12,239
12,194
12,033
10,934
10,917
10,837
10,831
10,315
std math/big 26 fns
10,293
10,032
9,637
9,547
9,495
std go/types 45 fns
9,490
9,227
9,201
9,045
9,033
9,025
8,783
8,736
8,454
8,341
8,053
7,951
7,803
7,642
7,281
7,169
7,140
std io/ioutil 7 fns
7,009
6,953
6,872
std math/rand 17 fns
6,785
6,692
std runtime 21 fns
6,571
6,517
6,371
6,269
6,237
6,129
6,122
5,888
5,698
5,527
5,494
5,473
5,286
5,109
5,089
5,075
5,059
5,016
5,015
4,893
std image 16 fns
4,852
std encoding/hex 5 fns
4,829
4,778
std maps 5 fns
4,765
4,726
4,693
std text/template 7 fns
4,659
std hash 5 fns
4,656
4,653
4,635
std container/list 10 fns
4,633
std crypto/x509 17 fns
4,603
4,541
4,530
4,525
4,519
4,419
4,415
4,403
4,328
4,310
4,286
4,194
4,073
3,968
3,946
3,875
3,858
3,854
3,826
3,808
3,802
3,788
3,776
3,740
3,715
3,696
3,660
3,655
std unicode/utf8 10 fns
3,600
3,587
3,545
3,529
3,469
std math/bits 11 fns
3,458
3,443
3,438
3,328
3,258
3,238
3,193
std unicode 11 fns
3,150
3,133
3,132
3,125
3,121
3,099
3,062
3,032
3,030
std cmp 2 fns
2,925
2,924
2,904
2,901
2,898
2,894
2,889
2,875
2,871
2,865
std crypto/sha256 2 fns
2,852
2,831
2,778
2,630
2,602
2,601
std go/ast 14 fns
2,600
2,580
2,537
2,520
2,513
2,486
2,478
2,469
2,466
2,455
2,454
2,447
2,444
2,434
2,421
2,406
2,396
2,396
2,391
2,358
2,327
2,317
2,306
2,300
2,299
2,288
2,284
2,277
2,268
2,266
std encoding/xml 10 fns
2,266
2,207
2,206
2,202
2,188
2,165
std crypto/cipher 12 fns
2,161
2,159
2,149
2,143
2,119
2,118
std compress/gzip 7 fns
2,085
2,057
2,027
std archive/tar 8 fns
2,014
2,009
1,998
1,997
std crypto/tls 10 fns
1,989
1,962
1,961
1,955
1,940
1,939
1,931
1,914
1,912
std html/template 6 fns
1,905
1,895
1,892
1,886
1,877
1,875
1,853
1,845
std encoding/pem 3 fns
1,843
1,840
1,819
std crypto/rand 2 fns
1,815
1,814
1,798
1,795
1,794
1,794
1,790
1,774
1,762
1,762
1,761
1,747
1,736
1,736
1,736
1,719
1,715
1,709
1,707
1,699
1,682
1,677
1,673
1,668
1,666
1,654
1,652
1,643
1,641
1,632
1,631
1,625

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