push
github
44 of 71 new or added lines in 3 files covered. (61.97%)
131 of 361 relevant lines covered (36.29%)
5.12 hits per line
1 |
// Code generated by 'go run ./gen'; DO NOT EDIT
|
|
2 |
|
|
3 |
package day2
|
|
4 |
|
|
5 |
import "github.com/spf13/cobra" |
|
6 |
|
|
NEW
|
func AddCommandsTo(root *cobra.Command) {
|
× |
NEW
|
day := &cobra.Command{ |
× |
NEW
|
Use: "2",
|
× |
NEW
|
Short: "Problems for Day 2",
|
× |
NEW
|
} |
× |
NEW
|
|
× |
NEW
|
day.AddCommand(aCommand()) |
× |
NEW
|
day.AddCommand(bCommand()) |
× |
NEW
|
|
× |
NEW
|
root.AddCommand(day) |
× |
NEW
|
} |
× |