![](https://cdn-ak-scissors.b.st-hatena.com/image/square/6c9988d859a9087c64cf305071726c650899fa26/height=288;version=1;width=512/https%3A%2F%2Fstorage.googleapis.com%2Fzenn-user-upload%2Favatar%2Fab37864466.jpeg)
エントリーの編集
![loading...](https://b.st-hatena.com/bdefb8944296a0957e54cebcfefc25c4dcff9f5f/images/v4/public/common/loading@2x.gif)
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
![アプリのスクリーンショット](https://b.st-hatena.com/bdefb8944296a0957e54cebcfefc25c4dcff9f5f/images/v4/public/entry/app-screenshot.png)
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
golang備忘録
package main import "fmt" func split(sum int) (x, y int) { x = sum * 4 / 9 y = sum - x return } f... package main import "fmt" func split(sum int) (x, y int) { x = sum * 4 / 9 y = sum - x return } func main() { fmt.Println(split(17)) } PythonとGolangの対応(by ChatGPT) パッケージとモジュール管理 Python: pipとrequirements.txtまたはPipfile、Poetryなどで依存関係を管理。 Go: go modを用いてgo.modとgo.sumファイルで依存関係を管理。 対応: Pythonの仮想環境はGoでは不要です。go.modがその役割を果たします。 エントリーポイント Python: 特定のスクリプトファイルまたは__main__.py。 Go: mainパッケージとその中のmain()関数。 対応: if
2024/01/30 リンク