summaryrefslogtreecommitdiff
path: root/model/recipe_test.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-05-06 17:16:54 +0200
committerxengineering <me@xengineering.eu>2024-05-06 21:16:22 +0200
commit250fc80c3c15cd38a518af5c256e2ba619295f5f (patch)
tree5e3fd5792b26b86970eac4f0cfcf080d263a92e1 /model/recipe_test.go
parent5c248884afa530bafb7b04dc14c587e3029480f6 (diff)
downloadceres-250fc80c3c15cd38a518af5c256e2ba619295f5f.tar
ceres-250fc80c3c15cd38a518af5c256e2ba619295f5f.tar.zst
ceres-250fc80c3c15cd38a518af5c256e2ba619295f5f.zip
model: Introduce NewStorage() function
It is a common pattern inside the Go standard library to provide a constructor with this naming scheme to custom types of the package. Doing this here results in a style closer to the standard library which improves readability.
Diffstat (limited to 'model/recipe_test.go')
0 files changed, 0 insertions, 0 deletions