Give the help examples that read no data and the exit codes, say a data path is no directory in one shape, suggest a record of one for a choice, name a JSON syntax error's line and column, and say no data is loaded from FakeStruct
This commit is contained in:
@@ -31,7 +31,7 @@ func (f *Generator) FakeStruct(v any) error {
|
||||
defer f.mu.Unlock()
|
||||
shape, err := f.structShapeOf(p.Elem().Type())
|
||||
if err != nil {
|
||||
return fmt.Errorf("fejkdata: %w", err)
|
||||
return f.noDataNote(fmt.Errorf("fejkdata: %w", err))
|
||||
}
|
||||
shape.fill(f.drawState, p.Elem())
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user