ccollins476ad commented on issue #55: MYNEWT-583; newt - allow use of specific tag/repository revision. URL: https://github.com/apache/incubator-mynewt-newt/pull/55#issuecomment-305100811 Btw, I figured out why my playground example wasn't working. The String() function operated on a `*S`, but I was passing a plain `S` to Printf. I updated the example code and now it does work (https://play.golang.org/p/4kMNJ8NdEB): ``` package main import ( "fmt" ) type S struct { a int } func (s *S) String() string { return fmt.Sprintf("%d", s.a) } func main() { s := &S{5} fmt.Printf("s=%s\n", s) } ``` ``` s=5 Program exited. ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
