mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-04 12:52:28 +08:00
doc: update doc for system package
This commit is contained in:
@@ -117,7 +117,7 @@ func byteToString(data []byte, charset string) string {
|
||||
return result
|
||||
}
|
||||
|
||||
// GetOsBits return this system bits (32 or 64)
|
||||
// GetOsBits return current os bits (32 or 64).
|
||||
// Play: https://go.dev/play/p/ml-_XH3gJbW
|
||||
func GetOsBits() int {
|
||||
return 32 << (^uint(0) >> 63)
|
||||
|
||||
Reference in New Issue
Block a user