From e62b94bcfc9d3cbc9b8f17cdb082092992861f20 Mon Sep 17 00:00:00 2001 From: Gregory Petrosyan Date: Sun, 8 Jan 2023 20:21:54 +0300 Subject: [PATCH] Document Make --- make.go | 1 + 1 file changed, 1 insertion(+) diff --git a/make.go b/make.go index 845ecc6..6c52d54 100644 --- a/make.go +++ b/make.go @@ -11,6 +11,7 @@ import ( "reflect" ) +// Make creates a generator of values of type V, using reflection to infer the required structure. func Make[V any]() *Generator[V] { var zero V gen := newMakeGen(reflect.TypeOf(zero))