Answers for "golang where to store interfaces"

Go
0

interface in go

type SDLDriver struct {
    window *sdl.Window
    renderer *sdl.Renderer
}

type NativeDriver struct {
    someDataField *Whatever
}

type AnotherDriver struct {
    someDataField *Whatever
}
Posted by: Guest on October-25-2021

Browse Popular Code Answers by Language