Skip to content

Instantly share code, notes, and snippets.

@Nikoloutsos
Created May 8, 2022 12:16
Show Gist options
  • Select an option

  • Save Nikoloutsos/edda21c897d2ece9b265bdbba2a02bf7 to your computer and use it in GitHub Desktop.

Select an option

Save Nikoloutsos/edda21c897d2ece9b265bdbba2a02bf7 to your computer and use it in GitHub Desktop.

Revisions

  1. Nikoloutsos created this gist May 8, 2022.
    11 changes: 11 additions & 0 deletions Human+new.swift
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    // 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
    }