エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
【Go】GUIアプリを作ってみる | Narumium Blog
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
【Go】GUIアプリを作ってみる | Narumium Blog
package main import ( "fmt" "os" "strconv" "time" "github.com/faiface/beep" "github.com/faiface/b... package main import ( "fmt" "os" "strconv" "time" "github.com/faiface/beep" "github.com/faiface/beep/mp3" "github.com/faiface/beep/speaker" "fyne.io/fyne" "fyne.io/fyne/app" "fyne.io/fyne/layout" "fyne.io/fyne/theme" "fyne.io/fyne/widget" ) var mp3name = "coin01.mp3" func doBeep(path string) error { if path == "" { path = mp3name } f, _ := os.Open(path) s, format, err := mp3.Decode(f) if err != ni