A lightweight mechanism to provide an *instant kickstart* to a Go web server instance upon changing any Go source files under the project directory (and its subdirectories).

syscall_no_getwd.go 301B

1234567891011
  1. // Copyright 2013 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. // +build dragonfly freebsd netbsd openbsd
  5. package unix
  6. const ImplementsGetwd = false
  7. func Getwd() (string, error) { return "", ENOTSUP }