1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-17 15:00:39 +00:00

rename key world 'governor' to 'admin'

This commit is contained in:
Ming Deng
2020-12-13 19:09:58 +08:00
parent 728296a7ae
commit 198b9cce5f
12 changed files with 39 additions and 39 deletions

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package governor
package admin
import (
"github.com/pkg/errors"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package governor healthcheck
// Package admin healthcheck
//
// type DatabaseCheck struct {
// }
@ -28,7 +28,7 @@
// AddHealthCheck("database",&DatabaseCheck{})
//
// more docs: http://beego.me/docs/module/toolbox.md
package governor
package admin
// AdminCheckList holds health checker map
var AdminCheckList map[string]HealthChecker

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package governor
package admin
import (
"fmt"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package governor
package admin
import (
"os"