General utility functions in golang. TODO: tests for dbUtil. Tests should be able to run in some other's machine as well. so, have to use sql mock or properties maybe.