Skip to content

Commit

Permalink
Update github.com/jaswdr/faker dependency from v1 to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenafamo committed Jan 20, 2024
1 parent b9e54b2 commit 891dd5a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v0.25.0] - 2024-01-20

### Changed

- Update `github.com/jaswdr/faker` dependency from `v1` to `v2`

## [v0.24.0] - 2024-01-20

### Added
Expand Down
2 changes: 1 addition & 1 deletion gen/templates/factory/11_column_mods.go.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{$.Importer.Import "github.com/jaswdr/faker"}}
{{$.Importer.Import "github.com/jaswdr/faker/v2"}}
{{ $table := .Table }}
{{ $tAlias := .Aliases.Table .Table.Key -}}

Expand Down
2 changes: 1 addition & 1 deletion gen/templates/factory/singleton/bobfactory_random.go.tpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{$.Importer.Import "strings"}}
{{$.Importer.Import "github.com/jaswdr/faker"}}
{{$.Importer.Import "github.com/jaswdr/faker/v2"}}
{{$.Importer.Import "github.com/aarondl/opt/null"}}

var defaultFaker = faker.New()
Expand Down

0 comments on commit 891dd5a

Please sign in to comment.