hash-of-wisdom/internal/quotes/types.go

13 lines
197 B
Go
Raw Normal View History

2025-08-22 16:05:48 +03:00
package quotes
import "context"
type Quote struct {
Text string `json:"text"`
Author string `json:"author"`
}
type Service interface {
GetRandomQuote(ctx context.Context) (*Quote, error)
}