view.New
There is no need to do extra work like creating a session and its associated view until the user has been properly identified and as many possibly-failing sql request have been successfully run.
For reference: https://go.dev/doc/go1.4#internalpackages