Directories
¶
| Path | Synopsis |
|---|---|
|
03_Basics
|
|
|
01_Arithmetic_Operations
command
|
|
|
04_Language_Components
|
|
|
a-Relational-Operations
command
|
|
|
b-Logical-Operations
command
|
|
|
c-Boolean-Operations
command
|
|
|
d-Bitwise-Operations
command
|
|
|
e_Conditions/a-if-else
command
|
|
|
e_Conditions/b_switch_cases
command
|
|
|
f_Loops/a_for_loop
command
|
|
|
f_Loops/b_goto_labels
command
|
|
|
g_range
command
|
|
|
h_init
command
|
|
|
-------------------------------------------------------------------------------- From b []byte i []int r []rune s string f float32 i int To -------------------------------------------------------------------------------- []byte · []byte(s) []int · []int(s) []rune []rune(s) string string(b) string(i) string(r) · float32 · float32(i) int int(f) · --------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------- From b []byte i []int r []rune s string f float32 i int To -------------------------------------------------------------------------------- []byte · []byte(s) []int · []int(s) []rune []rune(s) string string(b) string(i) string(r) · float32 · float32(i) int int(f) · -------------------------------------------------------------------------------- |
|
a_arrays
command
|
|
|
b_slices
command
|
|
|
b_slices/Exercises
command
|
|
|
c_pointers
command
|
|
|
d_maps
command
|
|
|
d_maps/Exercises
command
|
|
|
e_structs
command
Go program to illustrate the function as a field in Go structure Using anonymous function
|
Go program to illustrate the function as a field in Go structure Using anonymous function |
|
f_methods
command
|
|
|
g_interfaces
command
|
|
|
06_Error_Handling
|
|
|
a-Defer
command
|
|
|
b-panic-n-recover
command
|
|
|
c-errors
command
|
|
|
d-error-handling
command
|
|
|
Higher Order function - map
|
Higher Order function - map |
|
Exercises
command
Program to find Factorial of number
|
Program to find Factorial of number |
|
09_Goroutines_Channels_Concurrency
|
|
|
a_goroutines
command
Stateful Goroutine: A single goroutine manages the shared state (state map) and serializes access to it, ensuring that only one read or write operation happens at a time.
|
Stateful Goroutine: A single goroutine manages the shared state (state map) and serializes access to it, ensuring that only one read or write operation happens at a time. |
|
a_goroutines/Exercises
command
Clock1 is a TCP server that periodically writes the time.
|
Clock1 is a TCP server that periodically writes the time. |
|
b-channels
command
|
|
|
c-waitgroups/a_basics
command
|
|
|
c-waitgroups/c_race_conditions_atomic_ops
command
factorial(9) = 9 * 8 * 7 * 6 * ...
|
factorial(9) = 9 * 8 * 7 * 6 * ... |
|
c-waitgroups/d_mutex_n_locking
command
|
|
|
c-waitgroups/e_rate_limiting
command
|
|
|
c-waitgroups/f_runtime-usage
command
|
|
|
d-Concurrency
command
|
|
|
00_usage
command
|
|
|
01_OS/a-env-related
command
|
|
|
01_OS/b-file-operations
command
|
|
|
01_OS/c-flag-related
command
|
|
|
01_OS/d-manage-processes
command
|
|
|
02_base64-encoding
command
|
|
|
03_time
command
|
|
|
04_math
command
|
|
|
05_rand
command
|
|
|
05_rand/PracticalProblems
command
|
|
|
06_Crypto
command
|
|
|
07_bufio
command
|
|
|
08_container
command
|
|
|
09_sort
command
|
|
|
10_hash_n_Cryptography
command
|
|
|
11_strconv
command
|
|
|
12_runtime
command
|
|
|
13_scheduler
command
|
|
|
14_net/a_ip_address
command
|
|
|
14_net/b_dns
command
|
|
|
14_net/c_TCP_networking
command
|
|
|
14_net/d_UDP_networking
command
|
|
|
14_net/e_http_networking
command
|
|
|
15_sentiment
command
|
|
|
16_langdet
command
|
|
|
17_strings
command
|
|
|
18_context
command
Traditionally request cancellation, without context
|
Traditionally request cancellation, without context |
|
18_context/PracticalProblems
command
|
|
|
18_context/old
command
|
|
|
19_reflect
command
|
|
|
20_templating
command
|
|
|
21_cron
command
|
|
|
22-go-socket
command
|
|
|
23-gonum-plot
command
|
|
|
24_crypto
command
|
|
|
11_File_Operations
|
|
|
00_File_Operations
command
|
|
|
01_unstructured_files
command
|
|
|
01_unstructured_files/log-files
command
|
|
|
02_Structured_Files/01_xml
command
|
|
|
02_Structured_Files/02_csv
command
|
|
|
02_Structured_Files/05_yaml
command
|
|
|
03_zipFiles
command
|
|
|
04_other-files/a-avro-files
command
|
|
|
05_multimedia/a_image-files
command
|
|
|
05_multimedia/b_sound-files
command
|
|
|
12_Logging
|
|
|
a_builtin_logger
command
|
|
|
b_using_logrus
command
|
|
|
c_glog
command
|
|
|
d_zerolog
command
|
|
|
13_Database
|
|
|
a-with-sqliteDB
command
|
|
|
b-with-MySql
command
|
|
|
c-with-mongodb
command
|
|
|
d-ORMs/a-GORM
command
|
|
|
14_Code_Quality
|
|
|
a_unittesting/A2-MinValues
command
|
|
|
a_unittesting/B1-helloWorld
command
empty line after build tag line is mandatory
|
empty line after build tag line is mandatory |
|
a_unittesting/B2-sum
command
|
|
|
a_unittesting/C-run-one-test
command
|
|
|
a_unittesting/F-ISS
command
|
|
|
a_unittesting/G-govalidate
command
|
|
|
e-mocking
command
Package main is a generated GoMock package.
|
Package main is a generated GoMock package. |
|
e-mocking/scraping
command
|
|
|
f-profiling
command
|
|
|
Go program to illustrate how to find regexp from the given slice
|
Go program to illustrate how to find regexp from the given slice |
|
01_consuming/a-IpLookUp
command
|
|
|
01_consuming/b-URL
command
|
|
|
01_consuming/c-REST-API
command
|
|
|
01_consuming/d-web-scrapping/a-using-builtins
command
Fetch prints the content from a url
|
Fetch prints the content from a url |
|
01_consuming/new
command
|
|
|
02_creating
command
|
|
|
02_creating/a-usingBuiltin-net
command
|
|
|
02_creating/fiber-package
command
|
|
|
02_creating/z_bun-router
command
|
|
|
03_templating/a_hello_world
command
|
|
|
03_templating/b-blog
command
|
|
|
03_templating/d-calculator
command
|
|
|
03_templating/e-todo-app
command
|
|
|
a-net-package/a-ipAddress
command
|
|
|
Binary Tree in Golang
|
Binary Tree in Golang |
|
01_Search
command
Rabin-Karp string search algorithm in Golang
|
Rabin-Karp string search algorithm in Golang |
|
02_sort
command
Bubble Sort in Golang
|
Bubble Sort in Golang |
|
03_stack_queue
command
LIFO and FIFO in Golang
|
LIFO and FIFO in Golang |
|
04_LinkedList
command
|
|
|
How to concatenate two matrices horizontally
|
How to concatenate two matrices horizontally |
|
searching
command
Binary Tree in Golang
|
Binary Tree in Golang |
|
20_Projects
|
|
|
a-buildtag-features-app
command
|
|
|
todolist-mysql-go
command
|
|
|
tools/easyip
command
|
|
|
22_aws
|
|
|
01_Lambda/a-working-with-lambda
command
|
|
Click to show internal directories.
Click to hide internal directories.