On Saturday, 21 March 2015 at 23:14:58 UTC, Ola Fosheim Grøstad wrote:
This is a funny workaround:

http://bouk.co/blog/idiomatic-generics-in-go/

And someone found a hole to implement it:

https://www.reddit.com/r/golang/comments/2hw356/idiomatic_generics_in_go/ckwpfms

"The interpretation of the ImportPath is implementation-dependent but it is typically a substring of the full file name of the compiled package and may be relative to a repository of installed packages." -- Go Spec


    import (
    "templates.Map{int, string}"
    )

Hahahaha.

Reply via email to