├── README.md ├── basics ├── basic-data-encoding-and-decoding.md ├── defer-statement.md ├── environment-variables.md ├── go-maps.md ├── go-slices.md ├── initialization.md ├── input-validation.md ├── interfaces.md ├── panic-and-recover.md ├── pointers.md ├── reading-user-inputs.md ├── switch-statement.md ├── type-embedding.md ├── using-go-reflection.md └── using-structure-annotations.md ├── cli-tools └── building-cli-applications.md ├── code-generation ├── code-generation-with-go-generate.md ├── generating-code-with-templates.md └── reflection-based-code-generation.md ├── collections ├── arrays.md ├── bloom-filters.md ├── dequeues.md ├── graphs.md ├── heaps.md ├── linked-lists.md ├── maps.md ├── priority-queues.md ├── queues.md ├── sets.md ├── skip-lists.md ├── stacks.md └── tries.md ├── concurrency ├── atomic-types.md ├── channels.md ├── concurrency-and-data-structures.md ├── context-in-concurrent-programming.md ├── goroutines.md ├── mutexes.md ├── race-conditions.md ├── select-statements.md ├── semaphores.md ├── wait-groups.md └── worker-pools.md ├── context ├── context-chains.md ├── graceful-shutdowns.md ├── using-context-for-timeouts.md └── using-context-for-value-propagation.md ├── cryptography ├── checksums.md ├── digital-signatures.md ├── encryption-and-decryption.md ├── hashing-algorithms.md ├── key-exchange-ecdh.md ├── password-handling.md └── random-number-generation.md ├── databases ├── sql.md └── sqlite.md ├── debugging ├── analyzing-memory-allocations.md ├── cpu-profiling-techniques.md ├── debugging-with-delve.md ├── performance-bottleneck-identification.md ├── reading-go-stack-traces.md ├── tracing-go-programs.md └── using-godebug-environment-variable.md ├── distributed-systems ├── distributed-locks.md └── leader-election.md ├── error-handling ├── creating-custom-error-types.md ├── error-basics.md ├── error-wrapping.md └── errors.as-and-errors.is.md ├── files ├── archiving.md ├── creating-directories.md ├── getting-directory-files.md ├── reading-writing-files.md ├── writing-and-reading-csv-files.md ├── writing-and-reading-json-files.md ├── writing-and-reading-xml-files.md └── writing-and-reading-yaml-files.md ├── generics ├── comparable-and-ordered-interfaces.md ├── generic-data-structures.md └── using-go-generics.md ├── http ├── http-error-handling.md ├── implementing-rest-apis.md ├── making-http-calls.md ├── routing-http-requests.md ├── serving-static-content.md └── setting-request-timeouts.md ├── language-idioms ├── blank-identifier-uses.md ├── constants-and-immutability.md ├── iota-enumerations.md ├── multiple-return-values.md ├── named-return-values.md └── type-parameters.md ├── localization ├── character-encoding.md ├── date-and-number-formatting.md ├── localizing-go-strings.md ├── pluralization.md └── working-with-language-packs.md ├── logging ├── logging-levels-and-configuration.md ├── logging-to-files.md ├── logging-with-context.md └── using-structured-logging.md ├── memory-management ├── memory-profiling.md ├── performing-memory-management-in-go.md ├── value-interning.md └── weak-references.md ├── modules ├── creating-go-modules.md └── versioning-go-modules.md ├── networking ├── dns.md ├── ftp.md ├── ntp.md ├── ssl-and-tls.md ├── tcp.md ├── udp.md └── websockets.md ├── other-topics ├── architecture-specific-code.md ├── ast-manipulation.md ├── builtins.md ├── cgo.md ├── go-assembly.md ├── go-compiler-directives.md └── go-memory-model.md ├── patterns ├── function-closures.md ├── function-options.md ├── iterators.md └── variadic-functions.md ├── performance-optimizations ├── garbage-collection-tuning.md ├── go-complier-optimizations.md ├── gomaxprocs-management.md ├── json-performance-optimizations.md ├── preallocating-slices.md ├── reducing-allocations.md └── zero-copy-techniques.md ├── project-structure ├── managing-dependencies.md └── project-layout-conventions.md ├── rpc ├── implementing-grpc-clients.md └── implementing-grpc-servers.md ├── runtime ├── go-scheduler.md ├── runtime-package-utilities.md └── runtime-statistics.md ├── security ├── cross-site-scripting-xss-prevention.md ├── https-and-tls-configuration.md ├── jwt.md └── using-gosec-tool.md ├── serialization ├── gob.md ├── json.md └── protocol-buffers.md ├── standard-library-packages ├── container-package.md ├── filepath-package.md ├── fs-package.md ├── maps-utilities.md ├── os-package.md ├── parser-package.md ├── reflect-package.md ├── sort-package.md ├── strconv-package.md ├── token-package.md ├── types-package.md ├── unsafe-package.md └── using-bufio-for-efficient-io.md ├── strings ├── character-escaping.md ├── regular-expressions.md ├── string-building.md ├── string-comparison.md ├── string-concatenations.md ├── string-conversion.md ├── string-formatting.md ├── string-splitting-and-joining.md ├── stringer-interface.md ├── trimming-space-characters.md └── working-with-unicode-strings.md ├── system-programming ├── handling-os-signals.md ├── memory-mapped-files.md ├── process-management.md └── system-calls.md ├── templates ├── html-templates.md └── text-templates.md ├── testing ├── asserts.md ├── benchmarking-go-code.md ├── fuzzing.md ├── integration-testing.md ├── mocks.md ├── parallel-test-execution.md ├── race-detection.md ├── table-tests.md ├── test-coverage.md ├── testing-concurrent-code-with-synctest.md └── using-subtests.md ├── time ├── comparing-and-manipulating-dates.md ├── formatting-time.md ├── measuring-code-execution-time.md ├── parsing-time-strings.md └── working-with-time-zones.md └── tools ├── go-doc.md ├── go-fmt.md ├── go-lint.md ├── go-telemetry.md └── go-vet.md /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/README.md -------------------------------------------------------------------------------- /basics/basic-data-encoding-and-decoding.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/basics/basic-data-encoding-and-decoding.md -------------------------------------------------------------------------------- /basics/defer-statement.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/basics/defer-statement.md -------------------------------------------------------------------------------- /basics/environment-variables.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/basics/environment-variables.md -------------------------------------------------------------------------------- /basics/go-maps.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/basics/go-maps.md -------------------------------------------------------------------------------- /basics/go-slices.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/basics/go-slices.md -------------------------------------------------------------------------------- /basics/initialization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/basics/initialization.md -------------------------------------------------------------------------------- /basics/input-validation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/basics/input-validation.md -------------------------------------------------------------------------------- /basics/interfaces.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/basics/interfaces.md -------------------------------------------------------------------------------- /basics/panic-and-recover.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/basics/panic-and-recover.md -------------------------------------------------------------------------------- /basics/pointers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/basics/pointers.md -------------------------------------------------------------------------------- /basics/reading-user-inputs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/basics/reading-user-inputs.md -------------------------------------------------------------------------------- /basics/switch-statement.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/basics/switch-statement.md -------------------------------------------------------------------------------- /basics/type-embedding.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/basics/type-embedding.md -------------------------------------------------------------------------------- /basics/using-go-reflection.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/basics/using-go-reflection.md -------------------------------------------------------------------------------- /basics/using-structure-annotations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/basics/using-structure-annotations.md -------------------------------------------------------------------------------- /cli-tools/building-cli-applications.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/cli-tools/building-cli-applications.md -------------------------------------------------------------------------------- /code-generation/code-generation-with-go-generate.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/code-generation/code-generation-with-go-generate.md -------------------------------------------------------------------------------- /code-generation/generating-code-with-templates.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/code-generation/generating-code-with-templates.md -------------------------------------------------------------------------------- /code-generation/reflection-based-code-generation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/code-generation/reflection-based-code-generation.md -------------------------------------------------------------------------------- /collections/arrays.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/collections/arrays.md -------------------------------------------------------------------------------- /collections/bloom-filters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/collections/bloom-filters.md -------------------------------------------------------------------------------- /collections/dequeues.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/collections/dequeues.md -------------------------------------------------------------------------------- /collections/graphs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/collections/graphs.md -------------------------------------------------------------------------------- /collections/heaps.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/collections/heaps.md -------------------------------------------------------------------------------- /collections/linked-lists.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/collections/linked-lists.md -------------------------------------------------------------------------------- /collections/maps.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/collections/maps.md -------------------------------------------------------------------------------- /collections/priority-queues.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/collections/priority-queues.md -------------------------------------------------------------------------------- /collections/queues.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/collections/queues.md -------------------------------------------------------------------------------- /collections/sets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/collections/sets.md -------------------------------------------------------------------------------- /collections/skip-lists.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/collections/skip-lists.md -------------------------------------------------------------------------------- /collections/stacks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/collections/stacks.md -------------------------------------------------------------------------------- /collections/tries.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/collections/tries.md -------------------------------------------------------------------------------- /concurrency/atomic-types.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/concurrency/atomic-types.md -------------------------------------------------------------------------------- /concurrency/channels.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/concurrency/channels.md -------------------------------------------------------------------------------- /concurrency/concurrency-and-data-structures.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/concurrency/concurrency-and-data-structures.md -------------------------------------------------------------------------------- /concurrency/context-in-concurrent-programming.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/concurrency/context-in-concurrent-programming.md -------------------------------------------------------------------------------- /concurrency/goroutines.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/concurrency/goroutines.md -------------------------------------------------------------------------------- /concurrency/mutexes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/concurrency/mutexes.md -------------------------------------------------------------------------------- /concurrency/race-conditions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/concurrency/race-conditions.md -------------------------------------------------------------------------------- /concurrency/select-statements.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/concurrency/select-statements.md -------------------------------------------------------------------------------- /concurrency/semaphores.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/concurrency/semaphores.md -------------------------------------------------------------------------------- /concurrency/wait-groups.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/concurrency/wait-groups.md -------------------------------------------------------------------------------- /concurrency/worker-pools.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/concurrency/worker-pools.md -------------------------------------------------------------------------------- /context/context-chains.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/context/context-chains.md -------------------------------------------------------------------------------- /context/graceful-shutdowns.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/context/graceful-shutdowns.md -------------------------------------------------------------------------------- /context/using-context-for-timeouts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/context/using-context-for-timeouts.md -------------------------------------------------------------------------------- /context/using-context-for-value-propagation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/context/using-context-for-value-propagation.md -------------------------------------------------------------------------------- /cryptography/checksums.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/cryptography/checksums.md -------------------------------------------------------------------------------- /cryptography/digital-signatures.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/cryptography/digital-signatures.md -------------------------------------------------------------------------------- /cryptography/encryption-and-decryption.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/cryptography/encryption-and-decryption.md -------------------------------------------------------------------------------- /cryptography/hashing-algorithms.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/cryptography/hashing-algorithms.md -------------------------------------------------------------------------------- /cryptography/key-exchange-ecdh.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/cryptography/key-exchange-ecdh.md -------------------------------------------------------------------------------- /cryptography/password-handling.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/cryptography/password-handling.md -------------------------------------------------------------------------------- /cryptography/random-number-generation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/cryptography/random-number-generation.md -------------------------------------------------------------------------------- /databases/sql.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/databases/sql.md -------------------------------------------------------------------------------- /databases/sqlite.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/databases/sqlite.md -------------------------------------------------------------------------------- /debugging/analyzing-memory-allocations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/debugging/analyzing-memory-allocations.md -------------------------------------------------------------------------------- /debugging/cpu-profiling-techniques.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/debugging/cpu-profiling-techniques.md -------------------------------------------------------------------------------- /debugging/debugging-with-delve.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/debugging/debugging-with-delve.md -------------------------------------------------------------------------------- /debugging/performance-bottleneck-identification.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/debugging/performance-bottleneck-identification.md -------------------------------------------------------------------------------- /debugging/reading-go-stack-traces.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/debugging/reading-go-stack-traces.md -------------------------------------------------------------------------------- /debugging/tracing-go-programs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/debugging/tracing-go-programs.md -------------------------------------------------------------------------------- /debugging/using-godebug-environment-variable.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/debugging/using-godebug-environment-variable.md -------------------------------------------------------------------------------- /distributed-systems/distributed-locks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/distributed-systems/distributed-locks.md -------------------------------------------------------------------------------- /distributed-systems/leader-election.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/distributed-systems/leader-election.md -------------------------------------------------------------------------------- /error-handling/creating-custom-error-types.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/error-handling/creating-custom-error-types.md -------------------------------------------------------------------------------- /error-handling/error-basics.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/error-handling/error-basics.md -------------------------------------------------------------------------------- /error-handling/error-wrapping.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/error-handling/error-wrapping.md -------------------------------------------------------------------------------- /error-handling/errors.as-and-errors.is.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/error-handling/errors.as-and-errors.is.md -------------------------------------------------------------------------------- /files/archiving.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/files/archiving.md -------------------------------------------------------------------------------- /files/creating-directories.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/files/creating-directories.md -------------------------------------------------------------------------------- /files/getting-directory-files.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/files/getting-directory-files.md -------------------------------------------------------------------------------- /files/reading-writing-files.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/files/reading-writing-files.md -------------------------------------------------------------------------------- /files/writing-and-reading-csv-files.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/files/writing-and-reading-csv-files.md -------------------------------------------------------------------------------- /files/writing-and-reading-json-files.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/files/writing-and-reading-json-files.md -------------------------------------------------------------------------------- /files/writing-and-reading-xml-files.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/files/writing-and-reading-xml-files.md -------------------------------------------------------------------------------- /files/writing-and-reading-yaml-files.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/files/writing-and-reading-yaml-files.md -------------------------------------------------------------------------------- /generics/comparable-and-ordered-interfaces.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/generics/comparable-and-ordered-interfaces.md -------------------------------------------------------------------------------- /generics/generic-data-structures.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/generics/generic-data-structures.md -------------------------------------------------------------------------------- /generics/using-go-generics.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/generics/using-go-generics.md -------------------------------------------------------------------------------- /http/http-error-handling.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/http/http-error-handling.md -------------------------------------------------------------------------------- /http/implementing-rest-apis.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/http/implementing-rest-apis.md -------------------------------------------------------------------------------- /http/making-http-calls.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/http/making-http-calls.md -------------------------------------------------------------------------------- /http/routing-http-requests.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/http/routing-http-requests.md -------------------------------------------------------------------------------- /http/serving-static-content.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/http/serving-static-content.md -------------------------------------------------------------------------------- /http/setting-request-timeouts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/http/setting-request-timeouts.md -------------------------------------------------------------------------------- /language-idioms/blank-identifier-uses.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/language-idioms/blank-identifier-uses.md -------------------------------------------------------------------------------- /language-idioms/constants-and-immutability.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/language-idioms/constants-and-immutability.md -------------------------------------------------------------------------------- /language-idioms/iota-enumerations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/language-idioms/iota-enumerations.md -------------------------------------------------------------------------------- /language-idioms/multiple-return-values.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/language-idioms/multiple-return-values.md -------------------------------------------------------------------------------- /language-idioms/named-return-values.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/language-idioms/named-return-values.md -------------------------------------------------------------------------------- /language-idioms/type-parameters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/language-idioms/type-parameters.md -------------------------------------------------------------------------------- /localization/character-encoding.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/localization/character-encoding.md -------------------------------------------------------------------------------- /localization/date-and-number-formatting.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/localization/date-and-number-formatting.md -------------------------------------------------------------------------------- /localization/localizing-go-strings.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/localization/localizing-go-strings.md -------------------------------------------------------------------------------- /localization/pluralization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/localization/pluralization.md -------------------------------------------------------------------------------- /localization/working-with-language-packs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/localization/working-with-language-packs.md -------------------------------------------------------------------------------- /logging/logging-levels-and-configuration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/logging/logging-levels-and-configuration.md -------------------------------------------------------------------------------- /logging/logging-to-files.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/logging/logging-to-files.md -------------------------------------------------------------------------------- /logging/logging-with-context.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/logging/logging-with-context.md -------------------------------------------------------------------------------- /logging/using-structured-logging.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/logging/using-structured-logging.md -------------------------------------------------------------------------------- /memory-management/memory-profiling.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/memory-management/memory-profiling.md -------------------------------------------------------------------------------- /memory-management/performing-memory-management-in-go.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/memory-management/performing-memory-management-in-go.md -------------------------------------------------------------------------------- /memory-management/value-interning.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/memory-management/value-interning.md -------------------------------------------------------------------------------- /memory-management/weak-references.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/memory-management/weak-references.md -------------------------------------------------------------------------------- /modules/creating-go-modules.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/modules/creating-go-modules.md -------------------------------------------------------------------------------- /modules/versioning-go-modules.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/modules/versioning-go-modules.md -------------------------------------------------------------------------------- /networking/dns.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/networking/dns.md -------------------------------------------------------------------------------- /networking/ftp.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/networking/ftp.md -------------------------------------------------------------------------------- /networking/ntp.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/networking/ntp.md -------------------------------------------------------------------------------- /networking/ssl-and-tls.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/networking/ssl-and-tls.md -------------------------------------------------------------------------------- /networking/tcp.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/networking/tcp.md -------------------------------------------------------------------------------- /networking/udp.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/networking/udp.md -------------------------------------------------------------------------------- /networking/websockets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/networking/websockets.md -------------------------------------------------------------------------------- /other-topics/architecture-specific-code.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/other-topics/architecture-specific-code.md -------------------------------------------------------------------------------- /other-topics/ast-manipulation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/other-topics/ast-manipulation.md -------------------------------------------------------------------------------- /other-topics/builtins.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/other-topics/builtins.md -------------------------------------------------------------------------------- /other-topics/cgo.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/other-topics/cgo.md -------------------------------------------------------------------------------- /other-topics/go-assembly.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/other-topics/go-assembly.md -------------------------------------------------------------------------------- /other-topics/go-compiler-directives.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/other-topics/go-compiler-directives.md -------------------------------------------------------------------------------- /other-topics/go-memory-model.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/other-topics/go-memory-model.md -------------------------------------------------------------------------------- /patterns/function-closures.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/patterns/function-closures.md -------------------------------------------------------------------------------- /patterns/function-options.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/patterns/function-options.md -------------------------------------------------------------------------------- /patterns/iterators.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/patterns/iterators.md -------------------------------------------------------------------------------- /patterns/variadic-functions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/patterns/variadic-functions.md -------------------------------------------------------------------------------- /performance-optimizations/garbage-collection-tuning.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/performance-optimizations/garbage-collection-tuning.md -------------------------------------------------------------------------------- /performance-optimizations/go-complier-optimizations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/performance-optimizations/go-complier-optimizations.md -------------------------------------------------------------------------------- /performance-optimizations/gomaxprocs-management.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/performance-optimizations/gomaxprocs-management.md -------------------------------------------------------------------------------- /performance-optimizations/json-performance-optimizations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/performance-optimizations/json-performance-optimizations.md -------------------------------------------------------------------------------- /performance-optimizations/preallocating-slices.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/performance-optimizations/preallocating-slices.md -------------------------------------------------------------------------------- /performance-optimizations/reducing-allocations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/performance-optimizations/reducing-allocations.md -------------------------------------------------------------------------------- /performance-optimizations/zero-copy-techniques.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/performance-optimizations/zero-copy-techniques.md -------------------------------------------------------------------------------- /project-structure/managing-dependencies.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/project-structure/managing-dependencies.md -------------------------------------------------------------------------------- /project-structure/project-layout-conventions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/project-structure/project-layout-conventions.md -------------------------------------------------------------------------------- /rpc/implementing-grpc-clients.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/rpc/implementing-grpc-clients.md -------------------------------------------------------------------------------- /rpc/implementing-grpc-servers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/rpc/implementing-grpc-servers.md -------------------------------------------------------------------------------- /runtime/go-scheduler.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/runtime/go-scheduler.md -------------------------------------------------------------------------------- /runtime/runtime-package-utilities.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/runtime/runtime-package-utilities.md -------------------------------------------------------------------------------- /runtime/runtime-statistics.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/runtime/runtime-statistics.md -------------------------------------------------------------------------------- /security/cross-site-scripting-xss-prevention.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/security/cross-site-scripting-xss-prevention.md -------------------------------------------------------------------------------- /security/https-and-tls-configuration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/security/https-and-tls-configuration.md -------------------------------------------------------------------------------- /security/jwt.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/security/jwt.md -------------------------------------------------------------------------------- /security/using-gosec-tool.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/security/using-gosec-tool.md -------------------------------------------------------------------------------- /serialization/gob.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/serialization/gob.md -------------------------------------------------------------------------------- /serialization/json.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/serialization/json.md -------------------------------------------------------------------------------- /serialization/protocol-buffers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/serialization/protocol-buffers.md -------------------------------------------------------------------------------- /standard-library-packages/container-package.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/standard-library-packages/container-package.md -------------------------------------------------------------------------------- /standard-library-packages/filepath-package.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/standard-library-packages/filepath-package.md -------------------------------------------------------------------------------- /standard-library-packages/fs-package.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/standard-library-packages/fs-package.md -------------------------------------------------------------------------------- /standard-library-packages/maps-utilities.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/standard-library-packages/maps-utilities.md -------------------------------------------------------------------------------- /standard-library-packages/os-package.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/standard-library-packages/os-package.md -------------------------------------------------------------------------------- /standard-library-packages/parser-package.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/standard-library-packages/parser-package.md -------------------------------------------------------------------------------- /standard-library-packages/reflect-package.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/standard-library-packages/reflect-package.md -------------------------------------------------------------------------------- /standard-library-packages/sort-package.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/standard-library-packages/sort-package.md -------------------------------------------------------------------------------- /standard-library-packages/strconv-package.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/standard-library-packages/strconv-package.md -------------------------------------------------------------------------------- /standard-library-packages/token-package.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/standard-library-packages/token-package.md -------------------------------------------------------------------------------- /standard-library-packages/types-package.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/standard-library-packages/types-package.md -------------------------------------------------------------------------------- /standard-library-packages/unsafe-package.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/standard-library-packages/unsafe-package.md -------------------------------------------------------------------------------- /standard-library-packages/using-bufio-for-efficient-io.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/standard-library-packages/using-bufio-for-efficient-io.md -------------------------------------------------------------------------------- /strings/character-escaping.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/strings/character-escaping.md -------------------------------------------------------------------------------- /strings/regular-expressions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/strings/regular-expressions.md -------------------------------------------------------------------------------- /strings/string-building.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/strings/string-building.md -------------------------------------------------------------------------------- /strings/string-comparison.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/strings/string-comparison.md -------------------------------------------------------------------------------- /strings/string-concatenations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/strings/string-concatenations.md -------------------------------------------------------------------------------- /strings/string-conversion.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/strings/string-conversion.md -------------------------------------------------------------------------------- /strings/string-formatting.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/strings/string-formatting.md -------------------------------------------------------------------------------- /strings/string-splitting-and-joining.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/strings/string-splitting-and-joining.md -------------------------------------------------------------------------------- /strings/stringer-interface.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/strings/stringer-interface.md -------------------------------------------------------------------------------- /strings/trimming-space-characters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/strings/trimming-space-characters.md -------------------------------------------------------------------------------- /strings/working-with-unicode-strings.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/strings/working-with-unicode-strings.md -------------------------------------------------------------------------------- /system-programming/handling-os-signals.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/system-programming/handling-os-signals.md -------------------------------------------------------------------------------- /system-programming/memory-mapped-files.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/system-programming/memory-mapped-files.md -------------------------------------------------------------------------------- /system-programming/process-management.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/system-programming/process-management.md -------------------------------------------------------------------------------- /system-programming/system-calls.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/system-programming/system-calls.md -------------------------------------------------------------------------------- /templates/html-templates.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/templates/html-templates.md -------------------------------------------------------------------------------- /templates/text-templates.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/templates/text-templates.md -------------------------------------------------------------------------------- /testing/asserts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/testing/asserts.md -------------------------------------------------------------------------------- /testing/benchmarking-go-code.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/testing/benchmarking-go-code.md -------------------------------------------------------------------------------- /testing/fuzzing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/testing/fuzzing.md -------------------------------------------------------------------------------- /testing/integration-testing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/testing/integration-testing.md -------------------------------------------------------------------------------- /testing/mocks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/testing/mocks.md -------------------------------------------------------------------------------- /testing/parallel-test-execution.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/testing/parallel-test-execution.md -------------------------------------------------------------------------------- /testing/race-detection.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/testing/race-detection.md -------------------------------------------------------------------------------- /testing/table-tests.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/testing/table-tests.md -------------------------------------------------------------------------------- /testing/test-coverage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/testing/test-coverage.md -------------------------------------------------------------------------------- /testing/testing-concurrent-code-with-synctest.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/testing/testing-concurrent-code-with-synctest.md -------------------------------------------------------------------------------- /testing/using-subtests.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/testing/using-subtests.md -------------------------------------------------------------------------------- /time/comparing-and-manipulating-dates.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/time/comparing-and-manipulating-dates.md -------------------------------------------------------------------------------- /time/formatting-time.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/time/formatting-time.md -------------------------------------------------------------------------------- /time/measuring-code-execution-time.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/time/measuring-code-execution-time.md -------------------------------------------------------------------------------- /time/parsing-time-strings.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/time/parsing-time-strings.md -------------------------------------------------------------------------------- /time/working-with-time-zones.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/time/working-with-time-zones.md -------------------------------------------------------------------------------- /tools/go-doc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/tools/go-doc.md -------------------------------------------------------------------------------- /tools/go-fmt.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/tools/go-fmt.md -------------------------------------------------------------------------------- /tools/go-lint.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/tools/go-lint.md -------------------------------------------------------------------------------- /tools/go-telemetry.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/tools/go-telemetry.md -------------------------------------------------------------------------------- /tools/go-vet.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsxlabs/go-cookbook/HEAD/tools/go-vet.md --------------------------------------------------------------------------------