Skip to content
This repository was archived by the owner on Oct 3, 2022. It is now read-only.

Commit a597fdf

Browse files
committed
fix comments
1 parent d2ee78c commit a597fdf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

writer.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,15 +168,16 @@ func (rw *RecordWriter) bind(f *Frontend, k Key) (rec *Record, err error) {
168168
return
169169
}
170170

171-
// Bind to record from passed frontend by key and return a consumable stream
172-
// of the retrieved record.
171+
// Bind to record from passed frontend by key and return the retrieved record.
172+
//
173173
// The record generated by rw will automatically be evicted from its parent
174174
// cache on eviction of the included record.
175175
func (rw *RecordWriter) Bind(f *Frontend, k Key) (*Record, error) {
176176
return rw.bind(f, k)
177177
}
178178

179179
// Bind to record from passed frontend by key and decode it as JSON into dst.
180+
//
180181
// The record generated by rw will automatically be evicted from its parent
181182
// cache on eviction of the included record.
182183
func (rw *RecordWriter) BindJSON(

0 commit comments

Comments
 (0)