directory
0.5.36
Repository: https://github.com/devlights/try-golang.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Go 1.19 で Build Constraints に新たに unix が追加された。 GOOS が以下の場合に有効になる。 ios, linux, android, darwin, dragonfly, freebsd, hurd, illumos, netbsd, aix, openbsd or solaris # REFERENCES - https://dev.to/emreodabas/quick-guide-go-119-features-1j40 - https://go.dev/doc/go1.19#go-unix.
無償で利用できる Web API である Free Weather API を使って、HTTPリクエストを送信し 結果データとして受信した JSON を表示するサンプルです。 # REFERENCES - https://open-meteo.com/ - https://open-meteo.com/en/docs - https://paiza.hatenablog.com/entry/2021/11/04/130000 - https://tech.yappli.io/entry/go_unmarshal_interface.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
デッドロックのサンプルです.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Overview git log --author="$GIT_USER_NAME" --format="%H %ai" の結果を集計するプログラムです。 # Usage $ gcw --help Usage of ./gcw: -dir string Path of git repository (default ".") -tz string Local Timezone (default "Asia/Tokyo") -user string Git username $ gcw -user Gitユーザ名 -dir リポジトリのパス -tz ローカルタイムゾーン(デフォルトはAsia/Tokyo) # Memo このプログラムは、以下のブログ記事で利用されていたPerlスクリプトをGoに移植したものです。 元のスクリプトは $ git log --author="$GIT_USER_NAME" --format="%H %ai" | perl script.pl とパイプ経由で入力を受け取り、処理するようになっていましたが、Windows環境でも実行しやすいように 処理内で git コマンドも実行するように変更しています。 # REFERENCES At what time of day do famous programmers work? - https://ivan.bessarabov.com/blog/famous-programmers-work-time At what time of day do famous programmers work? Part 2.
No description provided by the author
go tool trace のサンプルです.
No description provided by the author
ヘキサゴナルアーキテクチャのサンプル adapter -> port <- usecase -> domain - adapter - FixedAmountAdapter (Inbound) - ConsoleAdapter (Outbound) - port - InputPort - OutputPort - usecase - YenCalculator - domain - Yen */.
staticcheck の 警告 を無視するやり方についてのサンプルです.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Goが内部で利用しているスレッド数を表示するサンプルです。 結果は例えば以下のようになります。(結果は環境によって異なります。) $ go install github.com/go-task/task/v3/cmd/task@latest $ go install honnef.co/go/tools/cmd/staticcheck@latest $ task task: [run] go fmt task: [run] go vet ./..
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
archive/tar の サンプルです。 REFERENCES: - https://pkg.go.dev/archive/tar@latest */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
XML宣言にてencodingの指定がUTF-8ではない場合のXMLデコードのサンプルです.
archive/zip の サンプルです。 REFERENCES: - https://pkg.go.dev/archive/zip@latest */.