Skip to content

Commit

Permalink
add field foe RoleDescription
Browse files Browse the repository at this point in the history
  • Loading branch information
PichuChen committed Mar 1, 2024
1 parent 51d50db commit 69701a4
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions mig/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ import (
)

type RoleDescription struct {
Identifier string `xml:"Identifier"`
Name string `xml:"Name"`
Address string `xml:"Address"`
PersonInCharge string `xml:"PersonInCharge"`
EmailAddress string `xml:"EmailAddress"`
Identifier string `xml:"Identifier"`
Name string `xml:"Name"`
Address string `xml:"Address,omitempty"`
PersonInCharge string `xml:"PersonInCharge,omitempty"`
TelephoneNumber string `xml:"TelephoneNumber,omitempty"`
FacsimileNumber string `xml:"FacsimileNumber,omitempty"`
EmailAddress string `xml:"EmailAddress,omitempty"`
CustomerNumber string `xml:"CustomerNumber,omitempty"`
RoleRemark string `xml:"RoleRemark,omitempty"`
}

type MigMain struct {
Expand Down Expand Up @@ -73,5 +77,4 @@ func NewMigFile(b []byte) (*MigFile, error) {
log.Println("xmlname", f.XMLName.Space, f.XMLName.Local)

return &f, nil

}

0 comments on commit 69701a4

Please sign in to comment.