Skip to content

use time.Duration to denote duration #38

use time.Duration to denote duration

use time.Duration to denote duration #38

Workflow file for this run

name: Go Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Caching
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Test
run: go test -v ./...