h in t zapisi

This commit is contained in:
aljazbrodar. 2026-01-17 18:43:36 +01:00
parent 59a65cf49e
commit 01188ab9a8
2 changed files with 23 additions and 12 deletions

View file

@ -5,6 +5,8 @@ import (
)
func main() {
test := 65 + ((true ? 1 : 0) << 1) + ((true ? 1 : 0) << 0)
fmt.Println(test)
line := ""
line = fmt.Sprintf("%s%02x", line, 15)
line = fmt.Sprintf("%s%02x", line, 14)
fmt.Println(line)
}