Skip to content

os/v2: fix inconsistent casing in names #1187

@niemeyer

Description

@niemeyer
Is there any sort of rule about the casing of functions used in the "os"
package?  Looking through, it doesn't sound like it's very easy to recall whether a
given function should be called LikeThat or Likethat.

For instance:

Mkdir
MkdirAll
TempDir
Getenv
ForkExec
Readlink
ReadAt
Readdir

It feels very ad-hoc, and hard to recall.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.v2An incompatible library change

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions