Skip to content

Releases: kristijorgji/goseeder

v1.0.5

19 Mar 17:23
Compare
Choose a tag to compare
  • add RegisterForEnvNamed named method which registers seed and allows setting a specific name
  • fromJson stringify maps and allow for reading json content from a particular column.
  • Print also seed environment during progress or error

v1.0.4

15 Mar 15:36
Compare
Choose a tag to compare

change FromJson source utility to not append automatically the environment folder to the provided file name

v1.0.3

13 Jun 15:45
Compare
Choose a tag to compare
  • improve fromJson exported public function to read json int,float,bool values as corresponding int,float,bool golang types.
  • deprecate and stop support for fromJson to parse strings into int,float,bool. If you want to insert bool into db, don't have json like "public": "true" but have correct json "public": true. Same goes for int and floats

v1.0.2

28 Oct 18:05
4933a06
Compare
Choose a tag to compare
  • Allow programmatically usage, for example to run before your unit tests, or seed anything by executing via go code, or have separate seeder main method
  • Allow custom named seeds
  • Nicer info and messages with colors