125 Go Programs using chatGPT with verified results - 125 Golang programs with source code download
This video is the compilation of all Go Programs which I have uploaded so far. All the programs are executed with Go 1.20 on Windows Environment.
00:00:00 - Go 1.20 Installation on Windows 11
00:03:19 - Access individual bytes of string
00:06:07 - Access individual character of string
00:08:27 - Access individual runes
00:10:35 - Access modify individual fields in struct
00:13:13 - Add elements to map
00:15:36 - Anonymous fields in struct
00:17:48 - Anonymous Structs
00:20:16 - Append data to file
00:23:06 - append slice
00:25:54 - Array Length and Capacity
00:27:29 - Average of numbers in array
00:30:19 - Binary to Ascii
00:33:31 - Binary to Decimal
00:36:41 - Binary to Graycode
00:38:16 - Capitalize String
00:41:46 - Check Adam Number
00:45:08 - check key exists in map
00:47:46 - check maps are equal
00:51:18 - CommandLine Arguments Parsing
00:54:17 - Compare and print difference of files
00:58:21 - Compare two structs
01:01:00 - Constants
01:03:28 - Continue break goto
01:07:10 - Convert to lowercase
01:10:20 - Convert to uppercase
01:13:31 - Count hours between dates
01:16:30 - Count months between dates
01:20:00 - Count number of ones
01:23:43 - Count Seconds between dates
01:26:24 - Count sundays between dates
01:29:55 - Count uppercase lowercase
01:33:36 - Count weeks between dates
01:36:05 - Create a map
01:38:14 - Create String from slice of bytes
01:40:19 - Create String from slice of runes
01:42:04 - Format and print date
01:44:00 - Date Validation
01:48:04 - Decimal to Binary
01:50:00 - Decimal to hexadecimal
01:53:00 - Decimal to Octal
01:55:29 - Declare and Use Runes
01:56:53 - Declare and use slice
01:58:49 - Delete items from map
02:01:06 - Delete Vowels from String
02:03:03 - Delete Words from String
02:05:43 - Difference between two timestamps
02:08:21 - Encrypt Decrypt File
02:13:20 - Encrypt Decrypt String
02:18:24 - Escape Characters
02:20:20 - Factor of number
02:22:29 - Floyds Triangle
02:24:45 - ForLoop As DoWhile
02:26:20 - ForLoop As While
02:28:27 - GrayCode to Binary
02:30:34 - Hexadecimal to binary
02:32:56 - Hexadecimal to decimal
02:34:48 - Hexadecimal to octal
02:37:15 - Hours to minutes
02:39:23 - How to Convert Read Only File to Read Write in Windows
02:41:57 - How to Create File
02:43:57 - How to create image file
02:48:22 - How to Create Read Only File
02:51:10 - Immutable string
02:53:00 - Infinite for loop
02:54:12 - Insert element at specific position in array
02:56:38 - Iterate 2darray for loop
02:58:00 - Iterate 2darray using range
02:59:28 - Iterate 2dslice for loop
03:01:24 - Iterate 2dslice using range
03:03:00 - Iterate array for loop
03:04:14 - Iterate array using range
03:06:11 - Iterate map using range
03:07:55 - Iterate slice using range
03:09:52 - Join two files
03:12:42 - Length capacity of rune
03:14:38 - Map of structs
03:17:07 - Maps as reference types
03:19:13 - Min max difference in array elements
03:22:14 - Multiple slices of same array
03:24:20 - Named Structs
03:25:45 - Nested maps
03:28:03 - Nested Structs
03:29:59 - Octal to Binary
03:32:47 - Octal to Decimal
03:35:27 - Octal to Hexadecimal
03:38:05 - Pass slice to function
03:40:00 - Perfect sqrt and cbrt below 1000
03:42:29 - Perfect Cubes below 1000
03:43:55 - Perfect Squares below 1000
03:45:39 - Permutaion combination of string
03:49:53 - Permutation combination of number
03:52:22 - Pointers to Struct
03:54:39 - Position of String in text
03:56:57 - Power of number
03:59:05 - Print length of map
04:01:22 - Print Array Index
04:03:28 - Promoted Fields in Structs
04:05:24 - Read from CSV file
04:07:53 - Read Write JSON
04:10:52 - Read Write XML
04:14:03 - Remove whitespace in text
04:15:50 - Replace Words in String
04:18:28 - Retrieve value for a key from map
04:21:59 - Separate lines tabs
04:24:38 - Separate odd even numbers from one array and store in separate arrays
04:27:58 - Separate positive and negative numbers from one array and store in separate arrays
04:30:27 - Shuffle Array Elements
04:32:23 - Shuffle Content of File
04:35:22 - Size of datatypes
04:37:51 - Sort a map
04:40:50 - String Concatenation
04:42:47 - String Formatting
04:46:30 - Sum of even numbers below 100
04:48:57 - Sum of Geometric Progression
04:51:16 - Sum of odd numbers below 100
04:53:12 - Swap Content of two files
04:57:05 - Swap First Last Character of string
04:59:15 - Type Casting
05:00:50 - Ulam Sequence
05:04:18 - Unique number in array
05:06:47 - Validate JSON
05:09:35 - Validate XML
05:12:03 - Variable Scope inside nested for loops
05:14:21 - Variable Scope
All programs are available as zip file in https://sourceforge.net/projects/javafrm/files/GoLang/
#go #goprogramming #golang #golangtutorial #golanguage #gowindows