Why are Some golang.org Packages Prefixed with an `x`

前端 未结 2 1057
隐瞒了意图╮
隐瞒了意图╮ 2021-01-13 11:13

Why are some golang.org package names prefixed with an x? The specific package that piqued my interest was bycrypt

My main concern is the x

2条回答
  •  萌比男神i
    2021-01-13 11:32

    The x means external. They are developed outside of the golang core. Experimental packages are under golang.org/x/exp

    Refs: https://golang.org/pkg/#subrepo https://groups.google.com/forum/#!msg/golang-nuts/eD8dh3T9yyA/l5Ail-xfMiAJ

提交回复
热议问题