title: Is there any way to handle Google Datastore Kind Property names with spaces in Golang?
body: <p>I'm running in a nasty issue with Datastore that doesn't appear to have any workaround.</p>
  
  <p>I'm using the Google Appengine Datastore package to pull back projection query results into Appengine memory for manipulation, and that is being accomplished with representing each entity as a Struct, with each Struct field corresponding to a Property name, like so:</p>
  
  <pre><code>type Row struct {
  Prop1    string
  Prop2    int
  }
  </code></pre>
  
  <p>This works great, but I've extended my queries into reading other property names that have spaces. While the query runs fine, it can't pull the data back into structs as it's looking to place the given value into a struct of the same naming convention, and I'm getting this kind of error:</p>
  
  <pre><code>datastore: cannot load field "Viewed Registration Page" into a "main.Row": no such struct field
  </code></pre>
  
  <p>Obviously Golang cannot represent a struct field like this. There is a field of the relevant type but no obvious way to tell the query to place it there.</p>
  
  <p>What would be the best solution here?    </p>
  
  <p>Cheers</p>