Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jamie Tanna
jvt.me
Commits
c57b1d8f
Commit
c57b1d8f
authored
Apr 07, 2022
by
Jamie Tanna
Browse files
Correct whitespace
parent
ba7e587f
Pipeline
#511768109
passed with stages
in 6 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
content/posts/2022-03-22-go-argf-read.md
View file @
c57b1d8f
...
...
@@ -50,7 +50,7 @@ func ArgfRead() (string, error) {
bytes
,
err
=
os
.
ReadFile
(
os
.
Args
[
1
])
}
else
{
bytes
,
err
=
io
.
ReadAll
(
os
.
Stdin
)
}
}
if
err
!=
nil
{
return
""
,
err
...
...
Write
Preview
Supports
Markdown
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