github.com/geniusesgroup/libgo@v0.0.0-20220713101832-828057a9d3d4/mediatype/media-type-detail.go (about)

     1  /* For license and copyright information please see LEGAL file in repository */
     2  
     3  package mediatype
     4  
     5  import "../protocol"
     6  
     7  // MediaTypeDetail store detail about an MediaType that impelement protocol.MediaTypeDetail
     8  type MediaTypeDetail struct {
     9  	languageID protocol.LanguageID
    10  	domain     string
    11  	summary    string
    12  	overview   string
    13  	userNote   string
    14  	devNote    string
    15  	tags       []string
    16  }
    17  
    18  func (d *MediaTypeDetail) Language() protocol.LanguageID { return d.languageID }
    19  func (d *MediaTypeDetail) Domain() string                { return d.domain }
    20  func (d *MediaTypeDetail) Summary() string               { return d.summary }
    21  func (d *MediaTypeDetail) Overview() string              { return d.overview }
    22  func (d *MediaTypeDetail) UserNote() string              { return d.userNote }
    23  func (d *MediaTypeDetail) DevNote() string               { return d.devNote }
    24  func (d *MediaTypeDetail) TAGS() []string                { return d.tags }