August 2019
Beginner to intermediate
798 pages
17h 2m
English
We are now going to create an updated version of myModule.go that has to do with using a different GitHub tag. So, execute the following commands:
$ vi myModule.go $ git commit -a -m "v2.1.0" $ git push $ git tag v2.1.0 $ git push -q origin v2.1.0
The updated contents of myModule.go will be as follows:
package myModule
import (
"fmt"
)
func Version() {
fmt.Println("Version 2.1.0")
}
Read now
Unlock full access