first commit
This commit is contained in:
17
input/value/read.go
Normal file
17
input/value/read.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package value
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"gitoa.ru/go-4devs/console/input"
|
||||
)
|
||||
|
||||
var _ input.AppendValue = (*Read)(nil)
|
||||
|
||||
type Read struct {
|
||||
input.Value
|
||||
}
|
||||
|
||||
func (r *Read) Append(string) error {
|
||||
return fmt.Errorf("%w: read value", input.ErrInvalidName)
|
||||
}
|
||||
Reference in New Issue
Block a user