Directories ¶
Path | Synopsis |
---|---|
01_getting-started
|
|
02_package
|
|
stringutil
Package stringutil contains utility functions for working with strings.
|
Package stringutil contains utility functions for working with strings. |
03_variables
|
|
04_scope
|
|
05_blank-identifier
|
|
06_constants
|
|
07_memory-address
|
|
08_pointers
|
|
10_for-loop
|
|
11_switch-statements
|
|
12_if_else-if_else
|
|
13_exercise-solutions
|
|
14_functions
|
|
15_bool-expressions
|
|
16_exercise-solutions
|
|
17_array
|
|
18_slice
|
|
19_map
|
|
20_struct
|
|
21_interfaces
|
|
22_go-routines
|
|
23_error-handling
|
|
26_QUESTIONS-FROM-STUDENTS
|
|
27_code-in-process
|
|
56_twitter/05_document
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/06_document
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/07_app-engine
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/08_julien-schmidt
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/09_login-form
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/10_signup-form-validate/01v_form-validation
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/10_signup-form-validate/02v_datastore-put
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/11_HTTPS-TLS
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/12_error-handling
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/13_login_unfinished
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/14_code-review
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/15_memcache-home
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/16_abstract-memcache-code
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/17_memcache-templates
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/18_abstract-API-Model
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/19_abstract-API-Model_AE-fix/App
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/20_reverting_to_only_package-main
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/21_set-cookie_no-PATH
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/22_set-cookie_PATH
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/23_set-cookie-UUID
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/24_session
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/25_session-all-pages
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/26_login
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/27_logout
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/28_code-review
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/29_password-encryption
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/30_turn-off-memcache
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/31_modal-post-tweet
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/32_tweets
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/33_display-all-tweets
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/34_humanize
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/36_user-tweets
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/38_follow
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/39_unfollow
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/41_twitter-send-email
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/42_following
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/43_following-me
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
56_twitter/44_code-review
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
66_authentication_OAUTH/02_manual-auth/03_memcache_REVIEW_twitter
Our web app will be a micro-blogging site.
|
Our web app will be a micro-blogging site. |
01-Ninja/Ninja_1.2
include ninja 1.2, 1.3,
|
include ninja 1.2, 1.3, |
02-Ninja/Ninja_2.1
Ninja 2.1, 2.2, 2.3, 2.4
|
Ninja 2.1, 2.2, 2.3, 2.4 |
03-Ninja
all exercises
|
all exercises |
06-Ninja/Ninja_10
Hands-on exercise #5
|
Hands-on exercise #5 |
06-Ninja/Ninja_11
Hands-on exercise #5
|
Hands-on exercise #5 |
06-Ninja/Ninja_2
create a func with the identifier foo that
|
create a func with the identifier foo that |
06-Ninja/Ninja_4
Hands-on exercise #4 Create a user defined struct with
|
Hands-on exercise #4 Create a user defined struct with |
06-Ninja/Ninja_5
Hands-on exercise #5
|
Hands-on exercise #5 |
06-Ninja/Ninja_6
Hands-on exercise #5
|
Hands-on exercise #5 |
06-Ninja/Ninja_7
Hands-on exercise #6 Build and use an anonymous func code: https://play.golang.org/p/DQX3xEIcRe
|
Hands-on exercise #6 Build and use an anonymous func code: https://play.golang.org/p/DQX3xEIcRe |
06-Ninja/Ninja_8
Hands-on exercise #8 Create a func which returns a func assign the returned func to a variable call the returned func code: https://play.golang.org/p/c2HwqVE1Rd
|
Hands-on exercise #8 Create a func which returns a func assign the returned func to a variable call the returned func code: https://play.golang.org/p/c2HwqVE1Rd |
06-Ninja/Ninja_9
A “callback” is when we pass a func into a func as an argument.
|
A “callback” is when we pass a func into a func as an argument. |
08-Ninja/Ninja_2
Hands-on exercise #2 Starting with this code, unmarshal the JSON into a Go data structure.
|
Hands-on exercise #2 Starting with this code, unmarshal the JSON into a Go data structure. |
08-Ninja/Ninja_3
Hands-on exercise #3 Starting with this code, encode to JSON the []user sending the results to Stdout.
|
Hands-on exercise #3 Starting with this code, encode to JSON the []user sending the results to Stdout. |
08-Ninja/Ninja_4
Starting with this code, sort the []int and []string for each person.
|
Starting with this code, sort the []int and []string for each person. |
08-Ninja/Ninja_5
Hands-on exercise #5 Starting with this code, sort the []user by age last Also sort each []string “Sayings” for each user print everything in a way that is pleasant solution: https://play.golang.org/p/8RKkdtLl6w
|
Hands-on exercise #5 Starting with this code, sort the []user by age last Also sort each []string “Sayings” for each user print everything in a way that is pleasant solution: https://play.golang.org/p/8RKkdtLl6w |
09-Ninja/Ninja_1
Hands-on exercise #1 in addition to the main goroutine, launch two additional goroutines each additional goroutine should print something out use waitgroups to make sure each goroutine finishes before your program exists code: https://github.com/GoesToEleven/go-programming video: 148
|
Hands-on exercise #1 in addition to the main goroutine, launch two additional goroutines each additional goroutine should print something out use waitgroups to make sure each goroutine finishes before your program exists code: https://github.com/GoesToEleven/go-programming video: 148 |
09-Ninja/Ninja_3
Hands-on exercise #3
|
Hands-on exercise #3 |
09-Ninja/Ninja_4
Hands-on exercise #4 Fix the race condition you created in the previous exercise by using a mutex it makes sense to remove runtime.Gosched() code: https://github.com/GoesToEleven/go-programming video: 151
|
Hands-on exercise #4 Fix the race condition you created in the previous exercise by using a mutex it makes sense to remove runtime.Gosched() code: https://github.com/GoesToEleven/go-programming video: 151 |
09-Ninja/Ninja_5
Fix the race condition you created in exercise #4 by using package atomic code: https://github.com/GoesToEleven/go-programming
|
Fix the race condition you created in exercise #4 by using package atomic code: https://github.com/GoesToEleven/go-programming |
09-Ninja/Ninja_6
Hands-on exercise #6 Create a program that prints out your OS and ARCH.
|
Hands-on exercise #6 Create a program that prints out your OS and ARCH. |
10-Ninja/Ninja_3
Hands-on exercise #3 Starting with this code, pull the values off the channel using a for range loop
|
Hands-on exercise #3 Starting with this code, pull the values off the channel using a for range loop |
11-Ninja/Ninja_2
Hands-on exercise #2 Start with this code.
|
Hands-on exercise #2 Start with this code. |
11-Ninja/Ninja_3
Hands-on exercise #3 Create a struct “customErr” which implements
|
Hands-on exercise #3 Create a struct “customErr” which implements |
11-Ninja/Ninja_4
Hands-on exercise #4 Starting with this code, use the sqrt.Error struct as a value of type error.
|
Hands-on exercise #4 Starting with this code, use the sqrt.Error struct as a value of type error. |
12-Ninja/01
Example for GODOC documentation
|
Example for GODOC documentation |
12-Ninja/01/Dog
Package Dog is being imported in Ninja_12 Package main.go program
|
Package Dog is being imported in Ninja_12 Package main.go program |
Channel/Channel-Block
Channel are used to make th ecode concurrent and works in a way of sending and recieving at the same time.
|
Channel are used to make th ecode concurrent and works in a way of sending and recieving at the same time. |
Channel/Channel-Blok
Channel are used to make th ecode concurrent and works in a way of sending and recieving at the same time.
|
Channel are used to make th ecode concurrent and works in a way of sending and recieving at the same time. |
Channel/Channel-Unblock
Channel are used to make th ecode concurrent and works in a way of sending and recieving at the same time.
|
Channel are used to make th ecode concurrent and works in a way of sending and recieving at the same time. |
Channel/ClosingChannel
Closing the channel
|
Closing the channel |
Channel/Directional-channel/01-BiDirectional-channel
Channel can be single direction means only receivers or senders Channel can be bidrectional
|
Channel can be single direction means only receivers or senders Channel can be bidrectional |
Channel/Directional-channel/02-Uni-directional-channel-Run
Unidirectional
|
Unidirectional |
Channel/Fan-in
Fan-In -> taking value from two channel and merge it in to one channel step 1: Call a func which internally call two same func with
|
Fan-In -> taking value from two channel and merge it in to one channel step 1: Call a func which internally call two same func with |
Channel/comma-ok-idion
This is comma ok idiom, to check what happen when we use v,ok idiom on channel
|
This is comma ok idiom, to check what happen when we use v,ok idiom on channel |
Channel/select/02-select
select statement used to pulling off the values from the channel, If you have different channel and you want to take the value off then use Select in thsi program make even, odd and quit channels to pull the respecive channel using SELECT
|
select statement used to pulling off the values from the channel, If you have different channel and you want to take the value off then use Select in thsi program make even, odd and quit channels to pull the respecive channel using SELECT |
Channel/select/03-send
funny thing with sed channel.
|
funny thing with sed channel. |
Concurrency/Race_example
Example to represent Eace example in Concurrency concept adding atomcity to the code to prevent Race condition.
|
Example to represent Eace example in Concurrency concept adding atomcity to the code to prevent Race condition. |
Concurrency/mutex
Example to represent Eace example in Concurrency concept Adding Mutex logic here
|
Example to represent Eace example in Concurrency concept Adding Mutex logic here |
1. | |
Marshalling/UnMarshalling
bcrypt is the process of encrypting the password
|
bcrypt is the process of encrypting the password |
Pointer/Pointer_3
Hands-on exercise #5
|
Hands-on exercise #5 |
Testing/Coverage
Hands-on exercise #3 Starting with this code, pull the values off the channel using a for range loop
|
Hands-on exercise #3 Starting with this code, pull the values off the channel using a for range loop |
Click to show internal directories.
Click to hide internal directories.