mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: format Go more aggressively
This commit is contained in:
@@ -628,7 +628,8 @@ func mustProvisionWorkspaceWithParameters(t *testing.T, client *codersdk.Client,
|
||||
Parameters: richParameters,
|
||||
},
|
||||
},
|
||||
}},
|
||||
},
|
||||
},
|
||||
ProvisionApply: []*proto.Provision_Response{
|
||||
{
|
||||
Type: &proto.Provision_Response_Complete{
|
||||
|
||||
@@ -111,8 +111,10 @@ func (s Schedule) Next(t time.Time) time.Time {
|
||||
return s.sched.Next(t)
|
||||
}
|
||||
|
||||
var t0 = time.Date(1970, 1, 1, 1, 1, 1, 0, time.UTC)
|
||||
var tMax = t0.Add(168 * time.Hour)
|
||||
var (
|
||||
t0 = time.Date(1970, 1, 1, 1, 1, 1, 0, time.UTC)
|
||||
tMax = t0.Add(168 * time.Hour)
|
||||
)
|
||||
|
||||
// Min returns the minimum duration of the schedule.
|
||||
// This is calculated as follows:
|
||||
|
||||
Reference in New Issue
Block a user