diff options
author | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-02-22 09:05:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-22 09:05:26 +0800 |
commit | 648d9e253c1924b832248f26fee42b2fb64dc3bc (patch) | |
tree | 51649fad974cd7284a47d30e412c90e7ab72cd2c /internal/setting/computed.go | |
parent | 5b14cc6f0b7b661beb2640a94bd15660cdb48587 (diff) |
conf: overhaul server settings (#5928)
* conf: rename package
* Requires Go 1.12
* Fix lint
* Fix lint
* Overhaul
* db: fix tests
* Save my work
* Fix tests
* Server.UnixSocketPermission
* Server.LocalRootURL
* SSH settings
* Server.OfflineMode
* Save my work
* App.Version
* Remove [server] STATIC_ROOT_PATH
* Server.LandingURL
Diffstat (limited to 'internal/setting/computed.go')
-rw-r--r-- | internal/setting/computed.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/internal/setting/computed.go b/internal/setting/computed.go deleted file mode 100644 index 7bdee053..00000000 --- a/internal/setting/computed.go +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2020 The Gogs Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. - -package setting - -var supportWindowsService bool - -// SupportWindowsService returns true if running as Windows Service is supported. -func SupportWindowsService() bool { - return supportWindowsService -} |