mirror of
https://github.com/eeeXun/GTT.git
synced 2025-05-17 16:20:33 -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
|
|
}
|