fuzzyworld

template / windows / files / test-common.go

Branch windows · default branch · all branches

test-common.go

Blame: the commit that last changed each line · file · history

c3fc7a22 2022-10-30 Pavel Safronov1package main
2
3import "time"
4
5func testNow() time.Time {
6 return time.Date(2022, 04, 20, 16, 20, 69, 0, time.UTC)
7}
8
9func 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}