Skip to content

Goformat and build/install instructions are out of date #3

@liyishuai

Description

@liyishuai

I'm using Go 1.20.12 on Linux, and am having difficulty following the instructions in README.
Is there a way to install this package from source?


My previous attempts:

go install winterdrache.de/goformat/goformat@latest

go: winterdrache.de/goformat/goformat@latest: unrecognized import path "winterdrache.de/goformat/goformat": reading https://winterdrache.de/goformat/goformat?go-get=1: 503 Service Unavailable

go install github.com/mbenkmann/goformat/goformat@latest

go: github.com/mbenkmann/goformat/goformat@latest: module github.com/mbenkmann/goformat/goformat: git ls-remote -q origin in /home/admin/go/pkg/mod/cache/vcs/fc2683508accf05deecb836eb96b5c21a3fff61d855f41731df56a5751e84490: exit status 128:
fatal: unable to access 'https://github.com/mbenkmann/goformat/': Encountered end of file

or:

go: finding module for package winterdrache.de/goformat/printer
go/pkg/mod/github.com/mbenkmann/goformat@v0.0.0-20180512004123-256ef38c4271/goformat/gofmt.go:23:2: cannot find module providing package winterdrache.de/goformat/printer: unrecognized import path "winterdrache.de/goformat/printer": reading https://winterdrache.de/goformat/printer?go-get=1: 503 Service Unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions