Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #9 from neotoolkit/feat/any-return
Browse files Browse the repository at this point in the history
feat: any return
  • Loading branch information
sashamelentyev committed Jun 26, 2022
2 parents a8a061d + 5068458 commit 45c7ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faker.go
Expand Up @@ -213,7 +213,7 @@ func (f Faker) Asciify(in string) string {
}

// ByName returns random data by faker
func (f Faker) ByName(faker string) interface{} {
func (f Faker) ByName(faker string) any {
switch strings.ToLower(faker) {
// Boolean
case "boolean":
Expand Down

0 comments on commit 45c7ae3

Please sign in to comment.