For insert queries you can also specify a default value for a column using pg:"default:now()" tag. In this case go-pg uses DEFAULT instead of NULL so PostgreSQL ...
確定! 回上一頁