Thanks to visit codestin.com
Credit goes to github.com

Skip to content

marcin-janas/marcin-janas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

package main

type gopher struct{}

func (g *gopher) selfRecover() (r bool) {
	if b, ok := recover().(*gopher); ok {
		r = g == b
	}

	return
}

func main() {
	var g gopher
	defer g.selfRecover()

	panic(&g)
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published