Learning-Go-Programming

module
v0.0.0-...-4eb613b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2024 License: MIT

README

Learning Go Programming

CodeQL build test lint

This is the code repository for Learning Go Programming, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish. ##Instructions and Navigations All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, ch02.

The code will look like the following:

package main

import "fmt"

func main() {
    fmt.Println("Hello, World!")
}

$> go version
go version go1.6.1 linux/amd64

To follow the examples in this book, you will need Go version 1.6 or later. Go supports architectures including AMD64, x386, and ARM running the following operating systems: Windows XP (or later) Mac OSX 10.7 (or later) Linux 2.6 (or later) FreeBSD 8 (or later)

Suggestions and Feedback

Click here if you have any feedback or suggestions.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781784395438

Directories

Path Synopsis
ch01 module
euler1 command
example1 command
example2 command
example3 command
example4 command
example5 command
example6 command
helloworld command
metalloids command
metalloids2 command
ch02 module
currinfo command
enum0 command
enum1 command
enum2 command
enum3 command
helloworld2 command
helloworld3 command
makenummap command
makenums command
This program reads a bitmap file as a string (generated by makenummap.go).
This program reads a bitmap file as a string (generated by makenummap.go).
vardec1 command
vardec2 command
vardec3 command
vardec4 command
ch03 module
breakstmt1 command
breakstmt2 command
comp_op command
currinfo1 command
currinfo2 command
for-range-stmt command
forstmt1 command
forstmt2 command
gotostmt command
ifstmt1 command
ifstmt2 command
switchstmt1 command
switchstmt2 command
ch04 module
address command
address2 command
alloc command
bool command
complex command
derefptr command
floats command
intslit command
newptr command
nums command
pointers command
pointers2 command
rune command
string command
type_conv command
type_conv2 command
typedef command
ch05 module
anagram1 command
anagram1.go
anagram1.go
anagram2 command
anagram2.go
anagram2.go
anagram3 command
anagram.go
anagram.go
anagram4 command
anagram.go
anagram.go
defer1 command
defer2 command
divide command
func0 command
func1 command
func2 command
func3 command
funcanon command
funcanonlit command
funcclosure command
funchighorder command
funcpassbyref command
funcpassbyval command
funcret0 command
funcret1 command
funcs command
functype command
funcvariadic command
ch06 module
args command
calc command
foo command
ch06-foo module
foo module
foo/bazz module
ch07 module
arr_addr command
arr_init command
arr_max_iter command
arr_max_recur command
arr_ptr command
arr_type_dec command
arr_types command
map_init command
map_make command
map_types command
map_use command
slice_init command
slice_make command
slice_make2 command
slice_reslice command
slice_string command
slice_types command
slice_use command
struct_basic command
struct_embed command
struct_init command
struct_ptr command
struct_ptr2 command
struct_tags command
struct_type_dec command
struct_types command
ch08 module
interface command
interface_empty command
interface_impl command
interface_impl2 command
interface_impl3 command
method_basic command
methods command
other/structs command
receiver_ptr command
structobj command
structobj2 command
typedef command
ch09 module
chan0 command
chan1 command
chan2 command
chan3 command
chantype command
factorial command
goroutine0 command
goroutine1 command
goroutine2 command
goroutine2a command
goroutine3 command
goroutine4 command
goroutine5 command
pattern0 command
pattern1 command
pattern2 command
pattern3 command
pattern4 command
pattern5 command
pattern6 command
pattern7 command
sync1 command
sync2 command
sync3 command
sync4 command
sync5 command
Calculate sum of all multiple of 3 and 5 less than MAX value.
Calculate sum of all multiple of 3 and 5 less than MAX value.
sync6 command
Calculate sum of all multiple of 3 and 5 less than MAX value.
Calculate sum of all multiple of 3 and 5 less than MAX value.
ch10 module
bufread0 command
bufscan0 command
bufwrite0 command
bytesbuf0 command
bytesbuf1 command
file0 command
file1 command
fileread command
filewrite0 command
filewrite1 command
fmtfprint0 command
fmtfscan0 command
fmtprint0 command
fmtscan0 command
fmtscan1 command
gob0 command
gob1 command
gzip0 command
gzip1 command
iocopy0 command
iolimitedrdr command
iopipe0 command
ioselectionrdr command
ioteerdr0 command
ioteerdr1 command
iowritestr command
json0 command
json1 command
json2 command
json3 command
json4 command
osstd command
reader0 command
reader1 command
reader2 command
writer0 command
writer1 command
writer2 command
ch11 module
client1 command
dial0 command
httpclient0 command
httpclient1 command
httpclient1a command
httpclient2 command
httpclient2a command
httpclient3 command
httpserv0 command
httpserv0a command
httpserv1 command
httpserv2 command
httpserv3 command
httpserv4 command
jsonclient0 command
jsonserv0 command
jsonserv1 command
listen0 command
tcpclient0 command
tcpclient1 command
tcpserv0 command
ch12 module
client command
service command
internal
current
Package current offers an api with functions to calculate current values in a DC circuit using Ohm's law
Package current offers an api with functions to calculate current values in a DC circuit using Ohm's law
foo
power
Package power offers an API with functions to calculate electrical power in a DC circuit
Package power offers an API with functions to calculate electrical power in a DC circuit
resistor
Package resistor offers an API with functions to calculate resistance in an DC circuit using Ohm's law
Package resistor offers an API with functions to calculate resistance in an DC circuit using Ohm's law
volt
Package volt offers an API with functions to calculate voltage in a DC circuit using Ohm's law.
Package volt offers an API with functions to calculate voltage in a DC circuit using Ohm's law.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL