package
1.11.0
Repository: https://github.com/gflydev/core.git
Documentation: pkg.go.dev

# README

Try-Finally-Catch

Usage

Quick usage

import "github.com/gflydev/core/try"

try.Perform(func() {
    calledTry()
}).Finally(func() {
    calledFinally()
}).Catch(func(e try.E) {
    log.Errorf("Catch error %v", e)
})

# Functions

Perform register the main-logic function.
Throw function (return or rethrow an exception).

# Constants

RethrowPanic Special re-throw panic.

# Structs

Define types of Try-Finally-Catch.

# Interfaces

Define types of Try-Finally-Catch.

# Type aliases

Define types of Try-Finally-Catch.
Define types of Try-Finally-Catch.