github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/std3.gno (about) 1 package main 2 3 import ( 4 "bytes" 5 "std" 6 ) 7 8 func main() { 9 caller := std.GetOrigCaller() 10 caller2 := std.GetOrigCaller() 11 cmp := bytes.Compare([]byte(caller), []byte(caller2)) 12 println(cmp) 13 } 14 15 // Output: 16 // 0