| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,7 @@ package schema | |||
| 2 | 2 | ||
| 3 | 3 | //go:generate pg-schema-migration-helper --type=storage.TestSingleKeyStruct --search-category SEARCH_UNSET --get-all-func | |
| 4 | 4 | //go:generate pg-schema-migration-helper --type=storage.TestSingleUUIDKeyStruct --search-category SEARCH_UNSET --get-all-func | |
| 5 | - //go:generate pg-schema-migration-helper --type=storage.TestMultiKeyStruct --search-category SEARCH_UNSET | ||
| 5 | + //go:generate pg-schema-migration-helper --type=storage.TestStruct --search-category SEARCH_UNSET | ||
| 6 | 6 | //go:generate pg-schema-migration-helper --type=storage.TestParent4 --search-category 72 --references storage.TestGrandparent --search-scope 61,74 | |
| 7 | 7 | //go:generate pg-schema-migration-helper --type=storage.TestParent3 --search-category 69 --references storage.TestGrandparent | |
| 8 | 8 | //go:generate pg-schema-migration-helper --type=storage.TestChild1P4 --search-category 74 --references storage.TestParent4 --search-scope 74 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,31 +33,3 @@ func GetTestSingleKeyStruct() *storage.TestSingleKeyStruct { | |||
| 33 | 33 | }, | |
| 34 | 34 | } | |
| 35 | 35 | } | |
| 36 | - | ||
| 37 | - // GetTestMultiKeyStruct returns filled TestMultiKeyStruct | ||
| 38 | - func GetTestMultiKeyStruct() *storage.TestMultiKeyStruct { | ||
| 39 | - return &storage.TestMultiKeyStruct{ | ||
| 40 | - Key1: "key1", | ||
| 41 | - Key2: "key2", | ||
| 42 | - StringSlice: []string{ | ||
| 43 | - "slice1", "slice2", | ||
| 44 | - }, | ||
| 45 | - Bool: true, | ||
| 46 | - Uint64: 16, | ||
| 47 | - Int64: 32, | ||
| 48 | - Float: 4.56, | ||
| 49 | - Labels: map[string]string{ | ||
| 50 | - "key1": "value1", | ||
| 51 | - "key2": "value2", | ||
| 52 | - }, | ||
| 53 | - Timestamp: &types.Timestamp{ | ||
| 54 | - Seconds: 1645640515, | ||
| 55 | - Nanos: 0, | ||
| 56 | - }, | ||
| 57 | - Enum: storage.TestMultiKeyStruct_ENUM1, | ||
| 58 | - Enums: []storage.TestMultiKeyStruct_Enum{ | ||
| 59 | - storage.TestMultiKeyStruct_ENUM1, | ||
| 60 | - storage.TestMultiKeyStruct_ENUM2, | ||
| 61 | - }, | ||
| 62 | - } | ||
| 63 | - } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments