provide go doc comments for exported types and functions

This commit is contained in:
Serge Zaitsev
2018-09-19 16:34:17 +02:00
parent d6b9770b10
commit 020b523d4a
6 changed files with 36 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ import (
type disk string
// Disk returns a local disk cache that stores files within a given directory.
func Disk(dir string) Store { return disk(dir) }
func (d disk) Put(ctx context.Context, snapshot Snapshot) error {