From 8e01e9d6c8b9235eb8dc1cf882f5736e26db5240 Mon Sep 17 00:00:00 2001 From: Pat Garrity Date: Mon, 24 Jun 2024 02:44:52 +0000 Subject: [PATCH] (patch) Update readme, force build for prior merge. (#4) Reviewed-on: https://git.garrity.co/garrity-software/gs-datagen/pulls/4 --- .scalafmt.conf | 2 +- README.md | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 9c7929b..7464e8d 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,5 +1,5 @@ // See: https://github.com/scalameta/scalafmt/tags for the latest tags. -version = 3.8.1 +version = 3.8.2 runner.dialect = scala3 maxColumn = 80 diff --git a/README.md b/README.md index 119e6e5..e1fccc2 100644 --- a/README.md +++ b/README.md @@ -7,14 +7,18 @@ Test data generation library for Scala 3. `gs-datagen` provides _composable_ generator definitions that can be reused across tests. - [Usage](#usage) + - [Dependency](#dependency) - [Imports](#imports) - [Examples](#examples) - [Example: Generate a Random User](#example-generate-a-random-user) - [Example: Require Input](#example-require-input) - [Supported Generators](#supported-generators) +- [Donate](#donate) ## Usage +### Dependency + ``` object Gs { val Datagen: ModuleID = @@ -28,7 +32,7 @@ The standard way to use `gs-datagen` is to import the entire package, which pulls in `Gen[A]`, `Generated[A]` and `Datagen[A, -I]`: ```scala -import gs.datagen.v0.* +import gs.datagen.v0._ ``` ## Examples