conditional Golang settings