Hi I am new to golang and I am trying to insert a time.Now() value for a time.Time type of variable The weired part is that i am neither getting an error nor having the commit proccessed rather the execution of the code is been stopped when i try to insert it. Can someone please help me what should be the value that I should be trying?
db: alter table abc add column created timestamptz NULL;
struct {
created time.Time db:"created"
}
value been set before the insert is created = time.Now()
I expect the db to be saved with the new record