Skip to content

Commit

Permalink
Forgot to gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
amerine committed Apr 28, 2014
1 parent a7ad932 commit 3a50c84
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions company.go
Expand Up @@ -22,5 +22,3 @@ func Company() (company string) {
company = fmt.Sprintf("%s %s", randomString(COMPANY_NAMES), randomString(companySuffixes))
return
}


2 changes: 1 addition & 1 deletion domain.go
Expand Up @@ -12,7 +12,7 @@ var domainTLDs = []string{"net", "org", "com", "io"}
// a random TLD.
func Domain() (domain string) {
de := regexp.MustCompile("\\s|\\.")
domain = fmt.Sprintf("%s.%s",
domain = fmt.Sprintf("%s.%s",
strings.ToLower(de.ReplaceAllLiteralString(Company(), "")),
randomTld())
return
Expand Down
2 changes: 1 addition & 1 deletion fake_test.go
Expand Up @@ -2,8 +2,8 @@ package fake

import (
"fmt"
"testing"
"regexp"
"testing"
)

func TestFullName(t *testing.T) {
Expand Down

0 comments on commit 3a50c84

Please sign in to comment.