chore: migrate and structure cmbone project
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package models
|
||||
|
||||
type Lang struct {
|
||||
AppMenu Appmenus `json:"Appmenus"`
|
||||
}
|
||||
|
||||
type Appmenus struct {
|
||||
About string `json:"about"`
|
||||
Quit string `json:"quit"`
|
||||
Preferences string `json:"preferences"`
|
||||
Second string `json:"second"`
|
||||
Version string `json:"version"`
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package models
|
||||
|
||||
type Hotkey struct {
|
||||
ID int `json:"id"` // 热键ID
|
||||
KeyCode uint32 `json:"keycode"` // 键码
|
||||
Modifiers uint32 `json:"modifiers"` // 修饰键
|
||||
}
|
||||
Reference in New Issue
Block a user