2022-02-01から1ヶ月間の記事一覧

Goland でファイル名が main じゃないとブレークポイントが貼れない? #Goland #golang

Go

問題 docker-compose を使って Goland でリモートデバッグを試していた。 エントリポイント (main関数) のあるファイルだけブレークポイントを貼れない。 Cannot find debugger path for /path/to/server.go みたいなメッセージが出て、ブレークポイントが無…

clasp の push で package.json が求められる #gas

gas

GAS の実装や管理には clasp が便利なんですが、いざ clasp push で反映しようとしたらエラーが出て怒られた。 ENOENT: no such file or directory, open 'package.json' 複数の App Script をまとめて管理するために、下記のようなディレクトリ構造にしてい…

Go の Web アプリケーションを Heroku にデプロイしたメモ #golang #heroku

概要 基本的な流れは公式に従ってやってみれば問題ないのだろうけど、自分で作ったものをデプロイしようとしたらちょこちょこ詰まったので備忘録。 https://devcenter.heroku.com/articles/getting-started-with-go https://github.com/heroku/go-getting-st…

ssh-add コマンドの -K オプションが deprecated になってた

無邪気に ssh-add -K したら、 WARNING が出てることに気づいた。 WARNING: The -K and -A flags are deprecated and have been replaced by the --apple-use-keychain and --apple-load-keychain flags, respectively. To suppress this warning, set the e…