Skip to content

Commit

Permalink
fix(examples): correct the version number in upgrade demo (gnolang#2390)
Browse files Browse the repository at this point in the history
Small fix to correct the version number in upgrade demo.
  • Loading branch information
ltzmaxwell authored and gfanton committed Jul 23, 2024
1 parent 5897fdb commit 9daa2a1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package v1
package v2

import "gno.land/r/x/manfred_upgrade_patterns/upgrade_c/root"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package v1
package v2

import (
"gno.land/p/demo/avl"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
package main

import (
"fmt"

"gno.land/r/x/manfred_upgrade_patterns/upgrade_d/v2"
)

func main() {
println("a", v1.Get("a"))
println("b", v1.Get("b"))
println("c", v1.Get("c"))
println("d", v1.Get("d"))
println("e", v1.Get("e"))
println("a", v2.Get("a"))
println("b", v2.Get("b"))
println("c", v2.Get("c"))
println("d", v2.Get("d"))
println("e", v2.Get("e"))
}

// Output:
Expand Down

0 comments on commit 9daa2a1

Please sign in to comment.