- go version bump

- go fix
This commit is contained in:
2026-02-20 16:11:11 +05:30
parent 166b3fda5c
commit a048cb0d73
7 changed files with 40 additions and 24 deletions

View File

@@ -4,31 +4,31 @@ import "testing"
func TestRefDeref(t *testing.T) {
a := 10
if Deref(Ref(a)) != a {
if Deref(new(a)) != a {
t.Log("a) had a issue")
return
}
b := 10.1
if Deref(Ref(b)) != b {
if Deref(new(b)) != b {
t.Log("b) had a issue")
return
}
c := true
if Deref(Ref(c)) != c {
if Deref(new(c)) != c {
t.Log("c) had a issue")
return
}
d := "hello there"
if Deref(Ref(d)) != d {
if Deref(new(d)) != d {
t.Log("d) had a issue")
return
}
var e string
if Deref(Ref(e)) != e {
if Deref(new(e)) != e {
t.Log("e) had a issue")
return
}