Commit 87c0185d authored by CrazyMax's avatar CrazyMax Committed by Josh Gross
Browse files

Add Go modules example (#18)

* Add Go modules example

* Fix TOC
parent 25e0c8fa
Loading
Loading
Loading
Loading
+12
Changes for examples.md: 12 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
- [Swift, Objective-C - Carthage](#swift-objective-c---carthage)
- [Swift, Objective-C - CocoaPods](#swift-objective-c---cocoapods)
- [Ruby - Gem](#ruby---gem)
- [Go - Modules](#go---modules)

## Node - npm

@@ -96,3 +97,14 @@ uses: actions/cache@preview
    restore-keys: |
      ${{ runner.os }}-gem-
```

## Go - Modules

```yaml
- uses: actions/cache@preview
  with:
    path: ~/go/pkg/mod
    key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
    restore-keys: |
      ${{ runner.os }}-go-
```