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.