Directories ¶ Show internal Expand all Path Synopsis 22-channels 01-quick-start command 02-dead-lock command 03-unidirectional-channels command 04-closing-channel command 23-buffered-channels-worker-pools buffered-channel command sync/01-quick-start command sync/02-fetch-serveral-urls command 24-select 01-quick-start command 02-random-selection command 03-default-case command 25-mutex 01-race-condition command 02-solving-the-race-condition-using-mutex command 03-solving-the-race-condition-using-channel command 04-for-range-async command 05-lock-vs-rlock command 26-oop-in-go 01-structs-instead-of-classes command 01-structs-instead-of-classes/employee 02-New-function-instead-of-constructors command 02-New-function-instead-of-constructors/employee 03-composition-by-embedding-structs command 03-composition-by-embedding-structs/models embedding-struct command struct command struct/entities 29-defer 01-quick-start command 02-arguments-evaluation command 03-stack-of-defers command 04-defer-panic-and-recover command try-catch-finally command try-finally command 30-error-handling 01-quick-start command 02-assert command 03-direct-comparison command 04-do-not-ignore-errors command error-stack command 31-custom-errors 03-using-struct-type-and-fields command datastructure-algorithm array linked-list sorting util decode-encode decode-json-stream command decode-json-stream/jsonextend decode-json-string-by-byte command decode-json-string-to-map command encode-map-to-json command quick-start command gorm-samples quick-start command goroutine 00-hello-world command 01-quick-start command 02-concurrency/client command 02-concurrency/server command 03-error-handling command 04-error-handling-2 command 05-stackoverflow command 06-exit-safely-wg-and-channel command 07-exit-safely-context command 08-google-search command 08-google-search/google handle-form http-server 01-quick-start command 02-close-server command issue-32762 domain/models log 01-setFlags command 02-fatal command postgresql pubsub reflect check-pointer-type command get-fields-of-struct command sqlx-samples database no-results transaction stackoverflow 51760447 51760447/a 54448994 command 61282104-todo 62035606 62351902 63622995 command 63622995/db 63622995/mocks 64584472 struct 02-method command 03-type-embedding command 03-type-embedding/report 04-receiver command testing concurrency command mock/foo mock/foo/mock_foo Package mock_foo is a generated GoMock package. Package mock_foo is a generated GoMock package. text-template Click to show internal directories. Click to hide internal directories.