Skip to content

Commit

Permalink
remove use of go mod in examples, problematic
Browse files Browse the repository at this point in the history
  • Loading branch information
pkieltyka committed Jan 9, 2019
1 parent 72cec81 commit 694f89b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 36 deletions.
2 changes: 0 additions & 2 deletions _examples/Makefile

This file was deleted.

9 changes: 5 additions & 4 deletions _examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ chi examples

## Usage

1. `cd <example>/` ie. `cd rest/`
2. `GO111MODULE=on go run *.go` - note, example services run on port 3333
3. Open another terminal and use curl to send some requests to your example service,
1. `go get -v -d -u ./...` - fetch example deps
2. `cd <example>/` ie. `cd rest/`
3. `go run *.go` - note, example services run on port 3333
4. Open another terminal and use curl to send some requests to your example service,
`curl -v http://localhost:3333/`
4. Read <example>/main.go source to learn how service works and read comments for usage
5. Read <example>/main.go source to learn how service works and read comments for usage
8 changes: 0 additions & 8 deletions _examples/go.mod

This file was deleted.

22 changes: 0 additions & 22 deletions _examples/go.sum

This file was deleted.

0 comments on commit 694f89b

Please sign in to comment.