github.com/dirkm/go-swagger@v0.19.0/examples/authentication/models/principal.go (about)

     1  // Code generated by go-swagger; DO NOT EDIT.
     2  
     3  package models
     4  
     5  // This file was generated by the swagger tool.
     6  // Editing this file might prove futile when you re-run the swagger generate command
     7  
     8  import (
     9  	strfmt "github.com/go-openapi/strfmt"
    10  )
    11  
    12  // Principal principal
    13  // swagger:model principal
    14  type Principal string
    15  
    16  // Validate validates this principal
    17  func (m Principal) Validate(formats strfmt.Registry) error {
    18  	return nil
    19  }