Directories ¶
Path | Synopsis |
---|---|
gobasics
|
|
append
append
|
append |
arrays
Arrays
|
Arrays |
comments
Package comments is a teaching example for using comments
|
Package comments is a teaching example for using comments |
concurrency2
scrolling to the right text, not streaming down text
|
scrolling to the right text, not streaming down text |
const
Constants
|
Constants |
error
Errors
|
Errors |
funcs
Functions
|
Functions |
hello
try changing dir name from hello to myApp and run with "go run myApp.go"
|
try changing dir name from hello to myApp and run with "go run myApp.go" |
ifelse
If/Else Statements
|
If/Else Statements |
incrdecopr
Increment and Decrement Statements
|
Increment and Decrement Statements |
infloop
Infinite Loops
|
Infinite Loops |
interfaces
interfaces
|
interfaces |
logopr
Logical Operators
|
Logical Operators |
loop3cmp
Three Component For Loop
|
Three Component For Loop |
maps
Maps
|
Maps |
methodPtr
methods (pointer receivers)
|
methods (pointer receivers) |
methods
methods (value receivers)
|
methods (value receivers) |
mulvar
Declaring Multiple Variables
|
Declaring Multiple Variables |
myApp
sorry, forgot to put this in src/gobasics directory in the video
|
sorry, forgot to put this in src/gobasics directory in the video |
myModule
// make sure your are in the root of the module for commands // get package if we don't have it already go get github.com/common-nighthawk/go-figure // creates a go.mod file to track dependencies go mod int <module-path> // will add / remove dependencies in our code to go.mod and creates go.sum go tidy
|
// make sure your are in the root of the module for commands // get package if we don't have it already go get github.com/common-nighthawk/go-figure // creates a go.mod file to track dependencies go mod int <module-path> // will add / remove dependencies in our code to go.mod and creates go.sum go tidy |
openfile
Errors
|
Errors |
pointers
pointers
|
pointers |
pointers2
pointers
|
pointers |
range
Range
|
Range |
savetoslc
slices provides access to their underlying array
|
slices provides access to their underlying array |
scope
Scope
|
Scope |
slices
Slices
|
Slices |
strings
Strings
|
Strings |
structs
structs
|
structs |
switch
Switch Statements
|
Switch Statements |
variadicfunc
variadic functions
|
variadic functions |
varredec
Redeclared Variables
|
Redeclared Variables |
vartypes
Data Types
|
Data Types |
varunused
Unused Variables
|
Unused Variables |
varzeroval
zero values
|
zero values |
websvr
basic web server
|
basic web server |
gobeyondbasics
|
|
gocorefuncs
|
|
sort/numsort
ascending sort
|
ascending sort |
gocorepkgs
|
|
fmt
fmt package print functions
|
fmt package print functions |
fmtScan
fmt package scan functions
|
fmt package scan functions |
fmtWrtr
fmt package io.Writer functions
|
fmt package io.Writer functions |
goprojects
|
|
gowebMySQL
|
|
gowebdev
|
|
sessions
simplified example and not intended for production use
|
simplified example and not intended for production use |
Click to show internal directories.
Click to hide internal directories.