Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
interface-go-dms3-core
Commits
47db102c
Commit
47db102c
authored
Sep 19, 2018
by
Łukasz Magiera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup instances of manual resolver construction
License: MIT Signed-off-by:
Łukasz Magiera
<
magik6k@gmail.com
>
parent
c1e241f7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
util.go
util.go
+11
-1
No files found.
util.go
View file @
47db102c
package
iface
import
(
"context"
"io"
)
type
Reader
interface
{
io
.
ReadSeeker
ReadSeekCloser
Size
()
uint64
CtxReadFull
(
context
.
Context
,
[]
byte
)
(
int
,
error
)
}
// A ReadSeekCloser implements interfaces to read, copy, seek and close.
type
ReadSeekCloser
interface
{
io
.
Reader
io
.
Seeker
io
.
Closer
io
.
WriterTo
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment