Closed drevell closed 7 months ago
We:
mdl.S("foo")
model.String{Val: "foo"}
mdl.SP("foo")
&model.String{Val: "foo"}
mdl.Strings("foo", "bar")
[]model.String{ {Val: "foo" }, {Val: "bar"} }
These test-brevity-helpers were created during the template-upgrades work, and now we apply them throughout the codebase.
We:
mdl.S("foo")
in place ofmodel.String{Val: "foo"}
mdl.SP("foo")
in place of&model.String{Val: "foo"}
mdl.Strings("foo", "bar")
in place of[]model.String{ {Val: "foo" }, {Val: "bar"} }
These test-brevity-helpers were created during the template-upgrades work, and now we apply them throughout the codebase.