panics

package
v0.5.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 4 Imported by: 0

README

サンプルリスト

このディレクトリには以下のサンプルがあります。

file example name note
panic_and_recover.go panics_panic_and_recover panicとrecoverのサンプルです
panics_panic_and_defer.go panics_panic_and_defer panicが呼ばれた場合でもdeferは処理されることを確認するサンプルです.

Documentation

Overview

Package panics -- panicに関するサンプルが配置されています。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRegister

func NewRegister() mapping.Register

NewRegister -- このパッケージ用のサンプルを登録する mapping.Register を生成します。

func PanicAndDefer added in v0.4.2

func PanicAndDefer() error

PanicAndDefer -- panicが呼ばれた場合でもdeferは処理されることを確認するサンプルです.

func PanicAndRecover

func PanicAndRecover() error

PanicAndRecover -- panicとrecoverのサンプルです.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL