Skip to content

Instantly share code, notes, and snippets.

@Nikoloutsos
Created May 8, 2022 12:16
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 Nikoloutsos/edda21c897d2ece9b265bdbba2a02bf7 to your computer and use it in GitHub Desktop.
Save Nikoloutsos/edda21c897d2ece9b265bdbba2a02bf7 to your computer and use it in GitHub Desktop.
// sourcery: AutoFixturable
struct Human {
// sourcery: example = ""The fixture will have this string as default value""
let firstName: String
let lastName: String
let fatherName: String
let motherName: String
// sourcery: example = ".init()"
let address: Location
let age: Int
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment