Using v2.0.0 and v2.1.0
This commit is contained in:
parent
a11d148274
commit
40920e533b
2 changed files with 20 additions and 0 deletions
10
ch06/useV2/useUpdatedV2.go
Normal file
10
ch06/useV2/useUpdatedV2.go
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
v "github.com/mactsouk/myModule/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
v.Version()
|
||||
}
|
||||
|
||||
10
ch06/useV2/useV2.go
Normal file
10
ch06/useV2/useV2.go
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
v "github.com/mactsouk/myModule/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
v.Version()
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue