Golang
Golang training
1. Development Environment
Install
# Download and Install
# https://go.dev/doc/install
# Managing Go installations
# https://go.dev/doc/manage-install
# Installing from source
# https://go.dev/doc/install/sourceGoland
# active
cat ./ideaActive/ja-netfilter-all/ja-netfilter/readme.txt
# plugins
gradianto # themes
rainbow brackets # json2. ProjectManage
3. Training
Basic grammar
Commentary
Constants
Variables
Operator
Printing and Formatting
package
Data type
bool
float
int
string
pointer
array
slice
map
struct
interface
channel
Control structures
if
switch
for
Functions
Example
Pass-by-xxx
anonymous function
higher-order function
closure
defer
recursive function
init function
File IO
character and byte
Read/Write File
Network IO
Concurrency
Reference:
Last updated