This is an example for restructuring existing semver initial version. @gandarez you can look at the diff or checkout the branch and check the code locally.
This is mainly about Run() split in Run() and Tag().
git package only contains an empty client without logic.
generate_test.go contains a unit test for Tag, which illustrates the main idea of testing here.
This is an example for restructuring existing semver initial version. @gandarez you can look at the diff or checkout the branch and check the code locally.
Run()
split inRun()
andTag()
.git
package only contains an empty client without logic.generate_test.go
contains a unit test forTag
, which illustrates the main idea of testing here.