Vá remover o espaço em branco da string
randomString := " hello this is a test"
fmt.Println(strings.Replace(randomString, " ", "", -1))
>hellothisisatest
maxlim0
randomString := " hello this is a test"
fmt.Println(strings.Replace(randomString, " ", "", -1))
>hellothisisatest