Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion project/10-posts/src/handler_feed_follows.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func (cfg *apiConfig) handlerFeedFollowsGet(w http.ResponseWriter, r *http.Reque

func (cfg *apiConfig) handlerFeedFollowCreate(w http.ResponseWriter, r *http.Request, user database.User) {
type parameters struct {
FeedID uuid.UUID
FeedID uuid.UUID `json:"feed_id"`
}
decoder := json.NewDecoder(r.Body)
params := parameters{}
Expand Down
2 changes: 1 addition & 1 deletion project/4-create_users/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ In this step, we'll be adding an endpoint to create new users on the server. We'
SQLC is just a command line tool, it's not a package that we need to import. I recommend [installing](https://docs.sqlc.dev/en/latest/overview/install.html) it using `go install`:

```bash
go install github.com/kyleconroy/sqlc/cmd/sqlc@latest
go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest
```

Then run `sqlc version` to make sure it's installed correctly.
Expand Down
2 changes: 1 addition & 1 deletion project/8-feedfollows/src/handler_feed_follows.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func (cfg *apiConfig) handlerFeedFollowsGet(w http.ResponseWriter, r *http.Reque

func (cfg *apiConfig) handlerFeedFollowCreate(w http.ResponseWriter, r *http.Request, user database.User) {
type parameters struct {
FeedID uuid.UUID
FeedID uuid.UUID `json:"feed_id"`
}
decoder := json.NewDecoder(r.Body)
params := parameters{}
Expand Down
2 changes: 1 addition & 1 deletion project/9-scraper/src/handler_feed_follows.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func (cfg *apiConfig) handlerFeedFollowsGet(w http.ResponseWriter, r *http.Reque

func (cfg *apiConfig) handlerFeedFollowCreate(w http.ResponseWriter, r *http.Request, user database.User) {
type parameters struct {
FeedID uuid.UUID
FeedID uuid.UUID `json:"feed_id"`
}
decoder := json.NewDecoder(r.Body)
params := parameters{}
Expand Down