You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The os.File type is re-declared across multiple files under src/os for os specific builds.
Can this type declaration be moved into src/os/file.go which currently contains the build-agnostic exported methods ? The declaration can then be removed from all the individual build specific file_xxxx.go ? Will this break anything else ?
If it doesn't break anything, this change will clean up the documentation as well and make it build agnostic because currently some of the type descriptions in the package documentation link to build specific source files, for eg type File links to src/os/file_unix.go
The text was updated successfully, but these errors were encountered:
tortuoise
changed the title
os.File cleanup
os.File re-declaration clean-up
Sep 5, 2016
tortuoise
changed the title
os.File re-declaration clean-up
os.File declaration clean-up
Sep 5, 2016
minux
changed the title
os.File declaration clean-up
os: os.File declaration clean-up
Sep 5, 2016
minux
changed the title
os: os.File declaration clean-up
os: File declaration clean-up
Sep 5, 2016
The os.File type is re-declared across multiple files under src/os for os specific builds.
Can this type declaration be moved into src/os/file.go which currently contains the build-agnostic exported methods ? The declaration can then be removed from all the individual build specific file_xxxx.go ? Will this break anything else ?
If it doesn't break anything, this change will clean up the documentation as well and make it build agnostic because currently some of the type descriptions in the package documentation link to build specific source files, for eg type File links to src/os/file_unix.go
The text was updated successfully, but these errors were encountered: