create table gotest (x varchar(255)); insert into gotest values (''); Selecting from this in GoMySQL gets you a nil value instead of an empty string.