# dev-studio **Repository Path**: weilanjin/dev-studio ## Basic Information - **Project Name**: dev-studio - **Description**: 后端开发工具集成。 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: https://www.yuque.com/weilanjin - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-03-20 - **Last Updated**: 2022-03-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: Fyne, GUI ## README # My DevStudio ### Prerequisites - go 1.18 - gcc - graphics driver ### install offline gcc 1. downloads https://www.mingw-w64.org/downloads/ 2. click Source -> [SourceForge](http://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/) 3. MinGW-W64 GCC-8.1.0 - click [x86_64-win32-seh](https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-win32/seh/x86_64-8.1.0-release-win32-seh-rt_v6-rev0.7z) 4. decompression - file x86_64-8.1.0-release-win32-seh-rt_v6-rev0.7z 5. set env - window os: path add -> C:\mingw64\bin - check `gcc -v` ### run project ``` sh cd dev-studio go run main.go ``` ## other ### run fyne_demo ```sh go get fyne.io/fyne/v2/cmd/fyne_demo/ fyne_demo ``` ### install fyne ```sh go install fyne.io/fyne/v2/cmd/fyne ``` ### fyne bundle static resources ```sh fyne bundle xx.png > bundle_img.go fyne bundle xx.ttf > bundle_font.go ``` ### interface{} -> any ```sh gofmt -w -r 'interface{} -> any' ./... ```