Skip to content

Rename "new" commands to "create" #34

Description

@hanzei

This is a great question. In the go code, I try to have the convention of "new" is usually just a memory allocation/simple init, fast and no error possible. "make" can fail. "create" is for creating new persisted entities.

However, I did not stick with the convention for the commands (why??) and in this case the function name is reflective of the command.

Originally posted by @levb in #27

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type/EnhancementNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions