Directories ¶ Show internal Expand all Path Synopsis 1-basics 1_basics/01_vars_1 1_basics/02_vars_2 1_basics/03_const 1_basics/04_pointers 1_basics/05_array 1_basics/06_slice_1 1_basics/07_slice_2 1_basics/08_strings 1_basics/09_map 1_basics/10_control 1_basics/11_loop 1_basics/12_types 1_basics/13_generic 2_functions/1_functions 2_functions/2_firstclass 2_functions/3_defer 2_functions/4_recover 3_structs/1_structs 3_structs/2_methods 4_interfaces/1.2_basic_sort 4_interfaces/1_basic 4_interfaces/2_many 4_interfaces/3_embed 4_interfaces/4_cast 4_interfaces/5_empty_1 4_interfaces/6_empty_2 5_visibility 5_visibility/person 6_uniq/basic 6_uniq/with_tests 10-performance 1_reflect/1_print 1_reflect/2_unpack 2_codegen/gen 2_codegen/pack 3_perfomance_1/5_json 4_perfomance_2/1_optimize 4_perfomance_2/2_leak_grtn 4_perfomance_2/3_tracing 5_testing 6_xml_stream 7_inline_escape 8_cgo/1_example 8_cgo/2_performance 2-async 0_basic_error_handling/1_ignore_errors 0_basic_error_handling/2_panic 0_basic_error_handling/3_handling 1_async/10_context_cancel 1_async/10_context_timeout 1_async/11_atomic_1 1_async/11_atomic_2 1_async/12_ratelim 1_async/13_once 1_async/1_goroutines 1_async/1_goroutines_2 1_async/2_chan 1_async/2_chan_2 1_async/3_workerpool 1_async/4_race_1 1_async/4_race_2 1_async/4_race_3 1_async/5_tick 1_async/6_afterfunc 1_async/7_select_1 1_async/7_select_2 1_async/7_select_2_new 1_async/7_select_3 1_async/8_wait_1 1_async/8_wait_2 1_async/9_timeout 3-web 0_json 1_net 2_http 3_template 4_json_http 4-api 1_rpc 1_rpc/jsonrpc 1_rpc/net-rpc 2_rest 3_graphql/gqlgen 3_graphql/gqlgen/server 3_graphql/graphql-go 4_swagger 4_swagger/docs 4_swagger/model 5_sessions 6_jwt 7_oauth 5-architecture 0_bad_example 1_routers/0_httprouter 1_routers/1_fasthttp 1_routers/2_gorilla 1_routers/3_multiple 2_middleware/1_middleware 2_middleware/2_context_value 3_errors/1_basic_err 3_errors/2_named_err 3_errors/3_pkg_err 3_errors/4_own_err 3_errors/5_new_errors 4_validation 5_logging 6_websockets 7_frameworks/echo 7_frameworks/echo/middleware 7_frameworks/echo/model 7_frameworks/echo/user 7_frameworks/echo/user/delivery/http 7_frameworks/echo/user/repository 7_frameworks/echo/user/usecase 6-databases 01_mysql 02_mysql_sql_injection 03_mysql_sqlmock 04_gorm 05_crudapp_db_tests/cmd/crudapp 05_crudapp_db_tests/pkg/handlers 05_crudapp_db_tests/pkg/items 05_crudapp_db_tests/pkg/middleware 05_crudapp_db_tests/pkg/session 05_crudapp_db_tests/pkg/user 06_mongodb 07_memcache 08_redis_simple 10_rabbit 11_tarantool_simple 12_tarantool crudapp_mongo/cmd/crudapp crudapp_mongo/pkg/handlers crudapp_mongo/pkg/items crudapp_mongo/pkg/middleware crudapp_mongo/pkg/session crudapp_mongo/pkg/user tcache redis Module 7-security 1_passwords 2_csrf 3_csrf_token 4_xss 5_xss_clean 6_acl/casbin 8-microservices 0_service/1_step 0_service/2_step 1_net-rpc/client 1_net-rpc/server 2_json-rpc/client 2_json-rpc/server 3_protobuf 4_grpc/client 4_grpc/server 4_grpc/session 5_grpc_features/client 5_grpc_features/server 6_grpc_stream/client 6_grpc_stream/server 6_grpc_stream/translit 7_grpc_loadbalance/client 7_grpc_loadbalance/server 9-monitoring 1_config/1_flag 1_config/2_json 1_config/3_ldflags 1_config/4_viper 1_config/5_consul 2_vault 3_monitoring/expvars 3_monitoring/metrics 3_monitoring/prometheus 3_monitoring/sentry/echo 3_monitoring/sentry/simple 4_tracing/jaeger_grpc/client 4_tracing/jaeger_grpc/server 4_tracing/jaeger_grpc/session Click to show internal directories. Click to hide internal directories.