From a9eb337ec7df584c8d523249bd7460e603e482eb Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sat, 3 Oct 2026 17:52:37 +0200 Subject: [PATCH] Say in config.load only what New's godoc does not --- fejkdata.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fejkdata.go b/fejkdata.go index 1dc09c5..2632eb2 100644 --- a/fejkdata.go +++ b/fejkdata.go @@ -104,9 +104,8 @@ func New(opts ...Option) (*Generator, error) { return &Generator{rand: rng, root: root}, nil } -// load is the tree New starts from. The shipped data set alone loads each category on the -// first call reaching it; beside any other source, every category loads here, so each -// mistake in that source is New's error. +// load is the tree New starts from: beside a source of the caller's, every category loads +// here, so each mistake in that source is New's error. func (c config) load() (folder, error) { if c.shipped && len(c.sources) == 0 { return unloadedTree(), nil