GitHubはじめる

API リファレンスはソースコード内の Go ドキュメントコメントから生成されており、英語で記述されています。

package storetest

import "github.com/nsgo-dev/game/pkg/cloudsave/storetest"

概要

Package storetest checks a cloudsave.Store against the contract the service relies on. A store's tests call Run with a function that opens an empty store.

目次

関数

func Run(t *testing.T, open func(t *testing.T) cloudsave.Store)

Run runs the contract tests as subtests of t, each on a fresh store from open.