mirror of
https://github.com/eeeXun/GTT.git
synced 2025-05-18 00:30:40 -07:00
14 lines
161 B
Go
14 lines
161 B
Go
package core
|
|
|
|
type APIKey struct {
|
|
key string
|
|
}
|
|
|
|
func (k *APIKey) SetAPIKey(key string) {
|
|
k.key = key
|
|
}
|
|
|
|
func (k *APIKey) GetAPIKey() string {
|
|
return k.key
|
|
}
|