This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ChildItem -Recurse -Directory | Where-Object {$_.Name -eq "obj" -or $_.Name -eq "bin"} | Remove-Item -Recurse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
type AnEnum interface { | |
IAmAnEnum() | |
} | |
type Text struct { | |
text string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias rm_dotnet='rm -rf $( find . -type d -regex ".*/\(obj\|bin\)" )' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The go experience in windows is very suboptimal, you need to install MSYS2 and mingw and what else.. | |
And cross your fingers to get it working. | |
But, wsl2 comes to the rescue, even for things like go-gl! | |
1. Install wsl2 | |
2. (Ubuntu) sudo apt update && sudo apt install mingw-w64 | |
3. .bashrc => alias wingo='GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc CGO_ENABLED=1 go' | |
4. wingo build |