computed.go 361 B

123456789101112
  1. // Copyright 2020 The Gogs Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package setting
  5. var supportWindowsService bool
  6. // SupportWindowsService returns true if running as Windows Service is supported.
  7. func SupportWindowsService() bool {
  8. return supportWindowsService
  9. }