Explore >> Select a destination


You are here

hjr265.me
| | www.integralist.co.uk
3.1 parsecs away

Travel
| | The following code doesn't do what you might expect: package main import "fmt" func main() { var i *impl fmt.Println("i == nil:", i == nil) what(i) } type impl struct{} func (i *impl) do() {} func what(i interface{ do() }) { fmt.Println("i == nil:", i == nil) } If you expected the what function to print i == nil: true, then keep reading... Typed Nils The behavior observed is due to the way interfaces and nil values interact in Go.
| | www.4async.com
3.3 parsecs away

Travel
| | ???Go?1.17???????????????????????1.17????????????????????????1.18????????????????6?????????????????????Go 1.18??????????1.17??????????????? ???????? ???Go????????????????????????????????????interface{}????????????????????????????????????????????????????????????????????Go??????????????????????????????????????????????????????interface{}????????????????????????????????????????????????????????????????????????????????????????????? ?Go????????????????????????????????????????????????????????????????????????????...
| | livesys.se
2.2 parsecs away

Travel
| |
| | retribution-paladin.blogspot.com
19.8 parsecs away

Travel
| Righty! Its not quite finished, but I'm eager to start writting again so head on over to : http://retribution-paladin.co.uk Update your link...