Skip to content

Instantly share code, notes, and snippets.

@will3942
Created December 4, 2013 21:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save will3942/7795507 to your computer and use it in GitHub Desktop.
Save will3942/7795507 to your computer and use it in GitHub Desktop.
Go: append Post to the Posts array
a = append(a, Post{title, date, summary, body, file})
}
return a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment