github.com/kaisawind/go-swagger@v0.19.0/fixtures/goparsing/classification/transitive/mods/interfaces.go (about)

     1  package mods
     2  
     3  // ExtraInfo is an interface for things that have extra info
     4  // swagger:model extra
     5  type ExtraInfo interface {
     6  	// swagger:name extraInfo
     7  	ExtraInfo() string
     8  }
     9  
    10  // EmbeddedColor is a color
    11  //
    12  // swagger:model color
    13  type EmbeddedColor interface {
    14  	// swagger:name colorName
    15  	ColorName() string
    16  }