github.com/as/shiny@v0.8.2/driver/driver_fallback.go (about) 1 // Copyright 2015 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // +build !darwin 6 // +build !linux android 7 // +build !windows 8 // +build !dragonfly 9 10 package driver 11 12 import ( 13 "errors" 14 15 "github.com/as/shiny/driver/internal/errscreen" 16 "github.com/as/shiny/screen" 17 ) 18 19 func main(f func(screen.Screen)) { 20 f(errscreen.Stub(errors.New("no driver for accessing a screen"))) 21 }