summaryrefslogtreecommitdiff
path: root/vendor/github.com/go-faker/faker/v4/pkg/interfaces/number.go
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-02-05 00:37:32 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-02-05 00:37:32 +0100
commit6960aecc25400320adee1b8802a86839326e15b6 (patch)
tree334f7ca9491080a5e6f9a9747da77281c4958ba2 /vendor/github.com/go-faker/faker/v4/pkg/interfaces/number.go
downloadhepi-6960aecc25400320adee1b8802a86839326e15b6.tar.gz
Engage!
Diffstat (limited to 'vendor/github.com/go-faker/faker/v4/pkg/interfaces/number.go')
-rw-r--r--vendor/github.com/go-faker/faker/v4/pkg/interfaces/number.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/github.com/go-faker/faker/v4/pkg/interfaces/number.go b/vendor/github.com/go-faker/faker/v4/pkg/interfaces/number.go
new file mode 100644
index 0000000..59dddfb
--- /dev/null
+++ b/vendor/github.com/go-faker/faker/v4/pkg/interfaces/number.go
@@ -0,0 +1,18 @@
+package interfaces
+
+// RandomIntegerBoundary is the struct for random integer boundaries
+type RandomIntegerBoundary struct {
+ Start int
+ End int
+}
+
+// RandomFloatBoundary is the struct for random float boundaries
+type RandomFloatBoundary struct {
+ Start float64
+ End float64
+}
+
+var (
+ DefaultIntBoundary = RandomIntegerBoundary{Start: 0, End: 100}
+ DefaultFloatBoundary = RandomFloatBoundary{Start: 0, End: 100}
+)