Created
February 20, 2019 20:59
-
-
Save vitiko/b50561d999d2fc0bb042056aebfdfa4e to your computer and use it in GitHub Desktop.
Keyer interface.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type ( | |
// Key type | |
Key []string | |
// Keyer interface for entity containing logic of its key creation | |
Keyer interface { | |
Key() (Key, error) | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment