template / windows / files / test-common.go
Branch windows · default branch · all branches
test-common.go
| 1 | package main |
| 2 | |
| 3 | import "time" |
| 4 | |
| 5 | func testNow() time.Time { |
| 6 | return time.Date(2022, 04, 20, 16, 20, 69, 0, time.UTC) |
| 7 | } |
| 8 | |
| 9 | func testPrePatternData() PrePatternData { |
| 10 | return PrePatternData{ |
| 11 | ProjectName: "test-project", |
| 12 | Year: "2022", |
| 13 | Month: "04", |
| 14 | Day: "20", |
| 15 | Hour: "16", |
| 16 | Minute: "20", |
| 17 | Second: "69", |
| 18 | Extras: map[string]string{ |
| 19 | "key1": "value1", |
| 20 | }, |
| 21 | } |
| 22 | } |