github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/talks/2014/readability/implement-interface-good.go (about) 1 // +build OMIT 2 3 package sample // OMIT 4 5 import "scan" // OMIT 6 7 // ColumnWriter is a writer to write ... 8 type ColumnWriter struct { 9 tmpDir string 10 // some other fields 11 } 12 13 var _ scan.Writer = (*ColumnWriter)(nil) // HL