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_linux_amd64_gc.go 297B

12345678910111213
  1. // Copyright 2016 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 amd64,linux
  5. // +build !gccgo
  6. package unix
  7. import "syscall"
  8. //go:noescape
  9. func gettimeofday(tv *Timeval) (err syscall.Errno)