gotest.tools/gotestsum@v1.11.0/internal/filewatcher/watch_unsupported.go (about)

     1  //go:build aix
     2  // +build aix
     3  
     4  package filewatcher
     5  
     6  import (
     7  	"fmt"
     8  	"runtime"
     9  )
    10  
    11  type Event struct {
    12  	PkgPath string
    13  	Debug   bool
    14  }
    15  
    16  func Watch(dirs []string, run func(Event) error) error {
    17  	return fmt.Errorf("file watching is not supported on %v/%v", runtime.GOOS, runtime.GOARCH)
    18  }