package app import "code.tnxs.net/taxnexus/lib/api/geo/geo_models" func UnMarshalDomain(swag *geo_models.Domain) *Domain { return &Domain{ Description: swag.Description, Active: swag.Active, ID: swag.ID, Name: swag.Name, } } func (obj *Domain) MarshalToSwagger() *geo_models.Domain { return &geo_models.Domain{ ID: obj.ID, Active: obj.Active, Description: obj.Description, Name: obj.Name, } }