Skip to content
Snippets Groups Projects
interface.go 552 B
Newer Older
  • Learn to ignore specific revisions
  • Manuel Kieweg's avatar
    Manuel Kieweg committed
    // Code generated by go-swagger; DO NOT EDIT.
    
    package models
    
    // This file was generated by the swagger tool.
    // Editing this file might prove futile when you re-run the swagger generate command
    
    import (
    	"github.com/go-openapi/errors"
    	"github.com/go-openapi/strfmt"
    )
    
    // Interface interface
    //
    // swagger:model Interface
    type Interface []string
    
    // Validate validates this interface
    func (m Interface) Validate(formats strfmt.Registry) error {
    	var res []error
    
    	if len(res) > 0 {
    		return errors.CompositeValidationError(res...)
    	}
    	return nil
    }