Skip to content

Instantly share code, notes, and snippets.

@aslakknutsen
Last active Aug 30, 2017
Embed
What would you like to do?
db := requires.Resource(t, Database)
space, wis := requires.Objects(t, Space(1), WorkItems(3, ExtraLongTitle()))
func ExtraLongTitle()  {
return func(wi *WorkItem) {
wi.Data.Attributes["system.title"] = ".. long thing.."
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment