diff --git a/content.go b/content.go index 6ffad0d..d59ebb5 100644 --- a/content.go +++ b/content.go @@ -1,16 +1,5 @@ package buffer -// TODO: -// - the write internally can get a max in the request, and this way multiple writes can be executed without -// synchronization steps in between -// - the current segment can be passed in to the writer to copy to -// - additional segments can be requested from the writer if necessary -// - a single channel with buffer=1 can be used to exchange -// - the message can be called 'syncMessage' -// - filter out the errors coming from the writer, but originated from the reader. Can errors.Is used for this? -// If yes, replace the captured error -// - check if the existing stdlib interface is good for the content writer - import ( "errors" "io"