Skip to content

Commit

Permalink
doc: link to examples directory in README
Browse files Browse the repository at this point in the history
Updates #13
  • Loading branch information
mmcloughlin committed Jan 4, 2019
1 parent fa7b5ed commit 52b6e2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -90,6 +90,8 @@ See the [`examples/add`](examples/add) directory for the complete working exampl

## Examples

See [`examples`](examples) for the full suite of examples.

### Slice Sum

Sum a slice of `uint64`s:
Expand Down Expand Up @@ -151,7 +153,7 @@ Component accesses can be arbitrarily nested:
b2 := Load(Param("s").Field("Array").Index(2).Field("B").Index(2), GP8v())
```

Very similar techniques apply to writing return values. See [`examples/args`](examples/args) and [`examples/returns`](examples/returns) for the full suite of examples.
Very similar techniques apply to writing return values. See [`examples/args`](examples/args) and [`examples/returns`](examples/returns) for more.

### Real Examples

Expand Down

0 comments on commit 52b6e2c

Please sign in to comment.