diff --git a/README.md b/README.md index e81ad20..231cc7d 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ We based on project layout [golang-standards/project-layout](https://github.com/ ## Features -- [Lab01S01](https://github.com/gamoch/popular_repos/releases/tag/v0.1.0): GraphQL query for 100 repositories + automatic request +- [Lab01S01](https://github.com/gamoch/popular_repos/releases/tag/v0.1.1): GraphQL query for 100 repositories + automatic request - Lab01S02: Pagination (query for 1000 repositories) + data in `.csv` file diff --git a/cmd/lab01s01/main.go b/cmd/lab01s01/main.go index 4b24e3d..ffd4b2d 100644 --- a/cmd/lab01s01/main.go +++ b/cmd/lab01s01/main.go @@ -40,5 +40,6 @@ func main() { logs.Error.Fatal(err) } + graphqlJSON = append(graphqlJSON, '\n') os.Stdout.Write(graphqlJSON) }