Skip to content

Commit

Permalink
fix lab01s01 output adding a new line
Browse files Browse the repository at this point in the history
  • Loading branch information
GaMoCh committed Aug 17, 2021
1 parent 7548a1d commit 4e821a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions cmd/lab01s01/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ func main() {
logs.Error.Fatal(err)
}

graphqlJSON = append(graphqlJSON, '\n')
os.Stdout.Write(graphqlJSON)
}

0 comments on commit 4e821a1

Please sign in to comment.