Directories ¶ Show internal Expand all Path Synopsis examples 02-defer-statement/bitmask 02-defer-statement/cockroach-with-secondary-error 02-defer-statement/concurrent-safe-counter 02-defer-statement/defer-vs-goto 02-defer-statement/external-scope 02-defer-statement/infinite-defer 02-defer-statement/infinite-defer-gen 02-defer-statement/performance-1 02-defer-statement/performance-2 02-defer-statement/reuse-connection 02-defer-statement/run-in-tx 02-defer-statement/simple-1 02-defer-statement/simple-2 02-defer-statement/simple-3 02-defer-statement/uber-multierr-append-invoke 02-defer-statement/working-with-files 03-panic-concept/assert-go-ptr 03-panic-concept/assert-go-uint 03-panic-concept/broken-recover/1 03-panic-concept/broken-recover/2 03-panic-concept/broken-recover/3 03-panic-concept/defer-nil 03-panic-concept/defer-os-exit 03-panic-concept/exception 03-panic-concept/fatalthrow/concurrent-map-read-write 03-panic-concept/fatalthrow/deadlock 03-panic-concept/fatalthrow/go-exhausted-stack 03-panic-concept/fatalthrow/go-nil 03-panic-concept/fatalthrow/no-deferred-calls 03-panic-concept/flag-error-handling 03-panic-concept/go-panic 03-panic-concept/multiple-panic 03-panic-concept/not-implemented 03-panic-concept/os-exit 03-panic-concept/os-exit-app--log-panic 03-panic-concept/os-exit-app--main-impl 03-panic-concept/os-exit-app--resource-leak 03-panic-concept/os-exit-app--resource-leak/app 03-panic-concept/os-exit-app--resource-leak/filecache 03-panic-concept/os-exit-app--resource-leak/store 03-panic-concept/os-exit-app--resource-leak/worker 03-panic-concept/panic-in-separate-goroutine 03-panic-concept/recover-callers 03-panic-concept/recursive-panic 03-panic-concept/runtime-goexit 03-panic-concept/runtime-goexit--as-api 03-panic-concept/runtime-goexit--main 03-panic-concept/runtime-goexit--while-panic 03-panic-concept/set-panic-on-fault 03-panic-concept/throw-exception tasks 02-defer-statement/attach-to 02-defer-statement/defer-anon-func-call 02-defer-statement/defer-at-home 02-defer-statement/defer-for-outer-caller 02-defer-statement/defer-method-call-1 02-defer-statement/defer-method-call-2 02-defer-statement/defer-method-call-3 02-defer-statement/defer-ptr-1 02-defer-statement/defer-ptr-2 02-defer-statement/defer-ptr-3 02-defer-statement/errd 02-defer-statement/file-descriptors-leak 02-defer-statement/finalizers 02-defer-statement/named-results-shadowing 02-defer-statement/nine-defers-hack 02-defer-statement/parse-token-for-security 02-defer-statement/periodic-sync 02-defer-statement/port-scanner 02-defer-statement/sms-repository 02-defer-statement/timekeeper 02-defer-statement/tricky-defer 02-defer-statement/tx-rollback 02-defer-statement/valid-defers 02-defer-statement/zip-archive 03-panic-concept/assert 03-panic-concept/assert-panic 03-panic-concept/broken-recovers/1 03-panic-concept/broken-recovers/10 03-panic-concept/broken-recovers/11 03-panic-concept/broken-recovers/12 03-panic-concept/broken-recovers/13 03-panic-concept/broken-recovers/2 03-panic-concept/broken-recovers/3 03-panic-concept/broken-recovers/4 03-panic-concept/broken-recovers/5 03-panic-concept/broken-recovers/6 03-panic-concept/broken-recovers/7 03-panic-concept/broken-recovers/8 03-panic-concept/broken-recovers/9 03-panic-concept/defer-and-recover 03-panic-concept/dummy-recoverer 03-panic-concept/errgroup 03-panic-concept/fatal-typo 03-panic-concept/fsm 03-panic-concept/fsm/renderer 03-panic-concept/global-recovery 03-panic-concept/go-helper 03-panic-concept/go-panic 03-panic-concept/htmlparser 03-panic-concept/idna 03-panic-concept/iface-equal 03-panic-concept/log-error 03-panic-concept/must-adapt 03-panic-concept/must-compile-error-trick 03-panic-concept/must-helper 03-panic-concept/must-parse-duration 03-panic-concept/must-parse-duration/example 03-panic-concept/not-our-defers 03-panic-concept/panic-after-panic 03-panic-concept/panic-nil 03-panic-concept/panic-stack 03-panic-concept/ping 03-panic-concept/recover 03-panic-concept/recover-v2 03-panic-concept/recoverer 03-panic-concept/recovery-middleware 03-panic-concept/registration-service 03-panic-concept/transact 03-panic-concept/triple-recover 03-panic-concept/what-happened 03-panic-concept/why-defer Click to show internal directories. Click to hide internal directories.