Rename quote module

This commit is contained in:
Savely Krendelhoff 2025-08-22 20:19:32 +07:00
parent 7864fafbd8
commit c14532bd1f
No known key found for this signature in database
GPG key ID: F70DFD34F40238DE
2 changed files with 6 additions and 12 deletions

6
internal/quotes/quote.go Normal file
View file

@ -0,0 +1,6 @@
package quotes
type Quote struct {
Text string `json:"text"`
Author string `json:"author"`
}

View file

@ -1,12 +0,0 @@
package quotes
import "context"
type Quote struct {
Text string `json:"text"`
Author string `json:"author"`
}
type Service interface {
GetRandomQuote(ctx context.Context) (*Quote, error)
}