Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jiro4989 committed Jan 11, 2021
1 parent 6d7bf8b commit e2832a7
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/faker/provider/internet/interfaces.nim
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ import random
import ../../base
export base

proc safeDomainName*(f: Faker): string
proc freeDomainName*(f: Faker): string
proc safeEmail*(f: Faker): string
proc freeEmail*(f: Faker): string
proc email*(f: Faker): string
proc topLevelDomain*(f: Faker): string

const
safeDomainNames = @["example.org", "example.com", "example.net"]
freeDomainNames = @["gmail.com", "yahoo.co.jp", "hotmail.com"]
Expand All @@ -28,3 +21,7 @@ proc freeDomainName*(f: Faker): string =

proc topLevelDomain*(f: Faker): string =
f.rand.sample(topLevelDomains)

proc safeEmail*(f: Faker): string
proc freeEmail*(f: Faker): string
proc email*(f: Faker): string

0 comments on commit e2832a7

Please sign in to comment.