Go language database object mapping