Skip to content

Update Go install instructions #23

@GWevroy

Description

@GWevroy

Hi,
Hopefully I am making this request in the right place. Recently a colleague and I were struggling to get Periph.io installed. We were using the "go get" command but as you are aware, how this works changed slightly as of version 1.17.x whereby it also modifies project mod files. Hence the current instructions will only work if you have an existing go project under development, and you are in that directory (and you are aware and happy with the fact that it is going to modify your mod files)

After some discussion on Slack, we found that the ideal means of installing the entire periph.io library is to use the go "install" method as follows:
go install periph.io/x/cmd/...@latest

this will install the latest version. As this was quite a runaround for us, I'm sure other people will be having the same issue. Having some up to date instructions will certainly help a developer (or newbie) to get started with a lot less frustration.

Thanks for a great IO library!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions