1
This commit is contained in:
6
internal/url_shortener/shortener.go
Normal file
6
internal/url_shortener/shortener.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package urlshortener
|
||||
|
||||
type Shortener interface {
|
||||
Shorten(plainText string) (string, error)
|
||||
Unshorten(encryptedText string) (string, error)
|
||||
}
|
Reference in New Issue
Block a user