gogorp

How to set default value for a column on CreateTables()?


I am using gorp, and I want to create a table with DbMap#CreateTables() by setting a default value for a column.

How can I achieve this?


Solution

  • An implementation of this feature is currently being reviewed by the project's collaborators.
    See the corresponding pull request.