gitlab.com/evatix-go/core@v1.3.55/coredata/corestr/HashsetsCollectionDataModel.go (about) 1 package corestr 2 3 type HashsetsCollectionDataModel struct { 4 Items []*Hashset `json:"HashsetsCollections"` 5 } 6 7 //goland:noinspection GoUnusedExportedFunction 8 func NewHashsetsCollectionUsingDataModel(dataModel *HashsetsCollectionDataModel) *HashsetsCollection { 9 return &HashsetsCollection{ 10 items: dataModel.Items, 11 } 12 } 13 14 func NewHashsetsCollectionDataModelUsing(collection *HashsetsCollection) *HashsetsCollectionDataModel { 15 return &HashsetsCollectionDataModel{ 16 Items: collection.items, 17 } 18 }