func A(a ...interface{})にA(strings...)って渡したかったけどゴリ押し以外の方法ないのか

macoshitamacoshita のブックマーク 2016/07/02 00:00

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Type converting slices of interfaces

    I'm curious why Go does't implicitly convert []T to []interface{} when it will implicitly convert T to interface{}. Is there something non-trivial about this conversion that I'm missing? Example: f...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう