HW10 is completed

pull/11/head
Andrey Ivanov 2020-08-21 12:05:06 +03:00 committed by Andrey Ivanov
parent f51d961115
commit 9d97b3e732
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
module github.com/fixme_my_friend/hw10_program_optimization module github.com/tiburon-777/HW_OTUS/hw10_program_optimization
go 1.14 go 1.14

View File

@ -29,7 +29,7 @@ func GetDomainStat(r io.Reader, domain string) (DomainStat, error) {
return countDomains(u, domain) return countDomains(u, domain)
} }
type users [100_000]User type users [100000]User
func getUsers(r io.Reader) (result users, err error) { func getUsers(r io.Reader) (result users, err error) {
content, err := ioutil.ReadAll(r) content, err := ioutil.ReadAll(r)