mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-30 18:00:56 +01:00
feat: added modules
This commit is contained in:
7
core/utils/system.go
Normal file
7
core/utils/system.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package utils
|
||||
|
||||
import "github.com/spf13/viper"
|
||||
|
||||
func IsPro() bool {
|
||||
return viper.GetString("info.edition") == "global.edition.pro"
|
||||
}
|
||||
Reference in New Issue
Block a user