mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-15 10:12:06 +03:00
26 lines
474 B
Go
26 lines
474 B
Go
package fake
|
|
|
|
import (
|
|
"strings"
|
|
)
|
|
|
|
// Company generates company name
|
|
func Company() string {
|
|
return lookup(lang, "companies", true)
|
|
}
|
|
|
|
// JobTitle generates job title
|
|
func JobTitle() string {
|
|
job := lookup(lang, "jobs", true)
|
|
return strings.Replace(job, "#{N}", jobTitleSuffix(), 1)
|
|
}
|
|
|
|
func jobTitleSuffix() string {
|
|
return lookup(lang, "jobs_suffixes", false)
|
|
}
|
|
|
|
// Industry generates industry name
|
|
func Industry() string {
|
|
return lookup(lang, "industries", true)
|
|
}
|