1
0
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:
dudaodong
2022-12-30 14:28:49 +08:00
parent e996d4c945
commit 54834dba4c
3 changed files with 55 additions and 21 deletions

View File

@@ -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)