github.com/blend/go-sdk@v1.20220411.3/validate/no_op.go (about)

     1  /*
     2  
     3  Copyright (c) 2022 - Present. Blend Labs, Inc. All rights reserved
     4  Use of this source code is governed by a MIT license that can be found in the LICENSE file.
     5  
     6  */
     7  
     8  package validate
     9  
    10  // NoOp is an empty validated.
    11  type NoOp struct{}
    12  
    13  // Validate implements the no op.
    14  func (no NoOp) Validate() error { return nil }