Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
xxjwxc committed Sep 6, 2024
1 parent 40b897d commit c4b6632
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/config/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (
type CfgBase struct {
// SerialNumber string `json:"serial_number" yaml:"serial_number"` // version.版本号
// ServiceName string `json:"service_name" yaml:"service_name"` // service name .service名字
// ServiceDisplayname string `json:"service_displayname" yaml:"service_displayname"` // display name .显示名
// SerciceDesc string `json:"sercice_desc" yaml:"sercice_desc"` // sercice desc .service描述
// ServiceDisplayName string json:"service_display_name" yaml:"service_display_name" // display name .显示名
// ServiceDesc json:"service_desc" yaml:"service_desc" // sercice desc .service描述
IsDev bool `json:"is_dev" yaml:"is_dev"` // Is it a development version?是否是开发版本
}

Expand Down Expand Up @@ -101,7 +101,7 @@ func InitFile(filename string) error {
// GetServiceConfig Get service configuration information
// func GetServiceConfig() (name, displayName, desc string) {
// name = _map.ServiceName
// displayName = _map.ServiceDisplayname
// displayName = _map.ServiceDisplayName
// desc = _map.SerciceDesc
// return
// }
Expand Down

0 comments on commit c4b6632

Please sign in to comment.