Skip to content
View marcin-janas's full-sized avatar
⌨️
I try not to panic...
⌨️
I try not to panic...

Block or report marcin-janas

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
marcin-janas/README.md
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)
}

Pinned Loading

  1. hello-go hello-go Public

    My place to collect information about Go

    Go 4

  2. dotfiles dotfiles Public

    My configuration files

    Shell