2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

golang.org/x/tour/gotour has moved to golang.org/x/tourを解決する

Last updated at Posted at 2021-04-07

go tourをローカルで実行したい

環境

MacOS: 10.15.7

$ go version
go version go1.15.3 darwin/amd64

tour of Goのサイト

go tourのインストール

途中でgotourのインストールを促されるが、移動したと表示されてしまい、動作しない

$ go get github.com/atotto/go-tour-jp/gotour
$ gotour
golang.org/x/tour/gotour has moved to golang.org/x/tour

インストールしたものを削除して、移動したところからインストールする

$ go clean -i github.com/atotto/go-tour-jp/gotour
$ go get golang.org/x/tour

ローカルで起動してみる

$ tour

無事に動作した

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?