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

feat: any return #9

Merged
merged 1 commit into from Jun 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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