Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os: File is not an interface #9863

Closed
mattn opened this issue Feb 13, 2015 · 1 comment
Closed

os: File is not an interface #9863

mattn opened this issue Feb 13, 2015 · 1 comment

Comments

@mattn
Copy link
Member

@mattn mattn commented Feb 13, 2015

I'm thinking if os.File is interface, it's possible to:

  • overwrite os.Stderr as output of logger
  • make easy to implement coloring console on windows
  • etc...

What is opinions?

@bradfitz

This comment has been minimized.

Copy link
Contributor

@bradfitz bradfitz commented Feb 13, 2015

Well, https://golang.org/doc/go1compat

So bring this up again if Go 2 ever happens.

@bradfitz bradfitz closed this Feb 13, 2015
@mikioh mikioh changed the title os.File is not an interface os: File is not an interface Feb 15, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.