---
-## Go lang
-
-By default I decided not to include Go lang, but this doesn't mean you cannot do it by hand:
-
-```c
-/* test.c */
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-
-#include "hello.h"
-
-int main(void) {
- HelloWorld();
- return EXIT_SUCCESS;
-}
-```
-
-**hello.go**
-
-```go
-package main
-
-import "fmt"
-import "C"
-
-//export HelloWorld
-func HelloWorld() {
- fmt.Printf("Hello %d", 123)
-}
-
-func main() {}
-```
-
-build it with:
-
-```bash
-go build -buildmode=c-archive hello.go
-gcc -pthread test.c hello.a -o test
-# test it with:
-./test
-```
-
-Obviously the Go code should return string when you make it into standalone module. It's easy to add the above code into standalone module that can be used by pinky-bar.
-
----
-
## OCAML lang
Before invoking any of the installation commands you'll have to edit **src/Makefail.skel**:
The colours in use are specified in your dwm config.h
.PP
* * * * *
-.SS Go lang
-.PP
-By default I decided not to include Go lang, but this doesn't mean you
-cannot do it by hand:
-.IP
-.nf
-\f[C]
-/*\ test.c\ */
-#include\ <stdio.h>
-#include\ <string.h>
-#include\ <stdlib.h>
-
-#include\ "hello.h"
-
-int\ main(void)\ {
-\ \ HelloWorld();
-\ \ return\ EXIT_SUCCESS;
-}
-\f[]
-.fi
-.PP
-\f[B]hello.go\f[]
-.IP
-.nf
-\f[C]
-package\ main
-
-import\ "fmt"
-import\ "C"
-
-//export\ HelloWorld
-func\ HelloWorld()\ {
-\ \ fmt.Printf("Hello\ %d",\ 123)
-}
-
-func\ main()\ {}
-\f[]
-.fi
-.PP
-build it with:
-.IP
-.nf
-\f[C]
-go\ build\ \-buildmode=c\-archive\ hello.go
-gcc\ \-pthread\ test.c\ hello.a\ \-o\ test
-#\ test\ it\ with:
-\&./test
-\f[]
-.fi
-.PP
-Obviously the Go code should return string when you make it into
-standalone module.
-It's easy to add the above code into standalone module that can be used
-by pinky\-bar.
-.PP
- * * * * *
.SS OCAML lang
.PP
Before invoking any of the installation commands you'll have to edit
* *BSD Mandatory requirements::
* Opt-in requirements::
* WM specific requirements::
-* Go lang::
* OCAML lang::
* Rust lang::
* Go lang::
------------------------------------------------------------------------
@end ifnottex
-@node Go lang
-@section Go lang
-@anchor{#go-lang}
-By default I decided not to include Go lang, but this doesn't mean you
-cannot do it by hand:
-
-@verbatim
-/* test.c */
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-
-#include "hello.h"
-
-int main(void) {
- HelloWorld();
- return EXIT_SUCCESS;
-}
-@end verbatim
-
-@strong{hello.go}
-
-@verbatim
-package main
-
-import "fmt"
-import "C"
-
-//export HelloWorld
-func HelloWorld() {
- fmt.Printf("Hello %d", 123)
-}
-
-func main() {}
-@end verbatim
-
-build it with:
-
-@verbatim
-go build -buildmode=c-archive hello.go
-gcc -pthread test.c hello.a -o test
-# test it with:
-./test
-@end verbatim
-
-Obviously the Go code should return string when you make it into
-standalone module. It's easy to add the above code into standalone
-module that can be used by pinky-bar.
-
-@iftex
-@bigskip@hrule@bigskip
-@end iftex
-@ifnottex
-------------------------------------------------------------------------
-@end ifnottex
-
@node OCAML lang
@section OCAML lang
@anchor{#ocaml-lang}
@node Go lang
@section Go lang
-@anchor{#go-lang-1}
+@anchor{#go-lang}
The source code that you should edit is in @strong{src/pinky.go}, but
you'll have to edit @strong{src/Makefail.skel} and add the following to: