Categories
Uncategorized

TinyGO (Windows platform)

A Go compiler for microcontrollers (such as Espressif (ESP8266/ESP32), Arduino (Arduino Uno -Atmega),  BBC microbit ARM Cortex-M0 )

https://tinygo.org/

Windows 10 Setup

https://tinygo.org/getting-started/windows/

Categories
Uncategorized

Go Environment – GOPATH

$GOPATH specifies the top-level directory containing source code for all our Go projects, this directory is known as Go Workspace

The default value of $GOPATH /home/username/go in Linux Distribution platform. On Windows platform is /user/username/go.

On the /home/username/go folder our Go workspace sub-folders must have the following which our task it create three (3) new sub-folders {src,bin,pkg}.

  • /home/username/go/src
  • /home/username/go/bin
  • /home/username/go/pkg

Our project folder will be sub-folder of /home/username/src, let say to print a hello world message. Create a new sub-folder “helloworld folder” under src folder. Inside the sub-folder helloworld, create a go source file “helloworld.go”.

Categories
Uncategorized

Go as a scripting language in Linux shell using gorun and Kernel binfmt_misc.

Categories
Uncategorized

Go package net/http for web scraping or spidering. Understanding of robots.txt

https://support.google.com/webmasters/answer/6062608?hl=en

Categories
Uncategorized

Go by Example is a hands-on introduction to Go using annotated example programs.

https://gobyexample.com/

Categories
Uncategorized

GoMobile

Using Go language to developed apps for mobile platform (Android or IOS)

https://github.com/golang/go/wiki/Mobile

Categories
Uncategorized

Some important Grub Installation steps Notes of Arch Linux on VirtualBox

GRUB Installation

https://wiki.archlinux.org/index.php/GRUB#Installation

https://wiki.archlinux.org/index.php/GRUB#Generate_the_main_configuration_file

Categories
Uncategorized

My choice of Linux distribution for Go Language development.

https://www.archlinux.org/

Categories
Uncategorized

Linux Go Installation Steps

Linux, macOS, and FreeBSD tarballs

Go to the Go language download page web site and choose the Linux platform. The example below show the download page link and the Go language version as of this posting to be downloaded.

https://dl.google.com/go/go1.13.1.linux-amd64.tar.gz

Extract it into /usr/local, creating a Go tree in /usr/local/go. For example:

tar -C /usr/local -xzf go1.13.1.linux-amd64.tar.gz

(Typically these commands must be run as root or through sudo.)

Add /usr/local/go/bin to the PATH environment variable. You can do this by adding this line to your /etc/profile (for a system-wide installation) or $HOME/.profile:

export PATH=$PATH:/usr/local/go/bin

Note: changes made to a profile file may not apply until the next time you log into your computer. To apply the changes immediately, just run the shell commands directly or execute them from the profile using a command such as source $HOME/.profile.

Categories
Uncategorized

Huawei possibilities of using another mobile operating systems.