gitlab.com/evatix-go/core@v1.3.55/coreinstruction/BaseModifyAs.go (about) 1 package coreinstruction 2 3 import ( 4 "gitlab.com/evatix-go/core/reqtype" 5 ) 6 7 type BaseModifyAs struct { 8 ModifyAs reqtype.Request `json:"ModifyAs"` 9 } 10 11 func NewModifyAs(modifyAs reqtype.Request) BaseModifyAs { 12 return BaseModifyAs{ 13 ModifyAs: modifyAs, 14 } 15 } 16 17 func (b *BaseModifyAs) SetModifyAs(modifyAs reqtype.Request) { 18 b.ModifyAs = modifyAs 19 }