This file contains hidden or 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
| Roffe's Guide to Setting Up Go and C Compiler on Windows for Fyne Development ( but you really want to use something other than Fyne ) | |
| This guide assumes you do not already have other C compilers installed in the system that will interfere with the setup below. | |
| !! LLVM 21.x has a bug that generates invalid object files, the last known working version is 20.1.8. The bug will be fixed once llvm 21.1.3 is released !! | |
| 1. Install Go from https://go.dev/doc/install (I installed in C:\Go; any path is fine but adjust steps below accordingly) | |
| 2. Download llvm-mingw from https://github.com/mstorsjo/llvm-mingw/releases (As of writing this doc, I used llvm-mingw-20250709-ucrt-x86_64.zip |
This file contains hidden or 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 ( | |
| "crypto/hmac" | |
| "crypto/sha256" | |
| "encoding/base64" | |
| "fmt" | |
| ) | |
| func main() { |
This file contains hidden or 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
| --- | |
| apiVersion: extensions/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| name: imaginary | |
| spec: | |
| rules: | |
| - host: imaginary.domain.com | |
| http: | |
| paths: |
This file contains hidden or 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
| --- | |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: imaginary | |
| labels: | |
| app: imaginary | |
| spec: | |
| ports: | |
| - port: 9000 |
This file contains hidden or 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
| --- | |
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: imaginary | |
| spec: | |
| selector: | |
| matchLabels: | |
| app: imaginary | |
| replicas: 1 |
This file contains hidden or 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
| <canvas id="c"></canvas> |