Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@azhuox

azhuox/block5.go Secret

Created December 1, 2020 04:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azhuox/63ca0182dca2c8e9c89a89d63dc00edf to your computer and use it in GitHub Desktop.
Save azhuox/63ca0182dca2c8e9c89a89d63dc00edf to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main() {
fmt.Println( interface{}(nil) == interface{}(nil) ) // true
fmt.Println( (*int)(nil) == (*int)(nil) ) // true
fmt.Println( chan string(nil) == chan string(nil) ) // true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment