fix: remove redundante names
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 44s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 49s

This commit was merged in pull request #299.
This commit is contained in:
2024-12-04 23:22:25 +01:00
parent 2d5f42bb28
commit 5ef59df2d0
16 changed files with 228 additions and 230 deletions

View File

@@ -2,16 +2,16 @@ package service
import "time"
type ClockService interface {
type Clock interface {
Now() time.Time
}
type ClockServiceImpl struct{}
type ClockImpl struct{}
func NewClockServiceImpl() ClockService {
return &ClockServiceImpl{}
func NewClockImpl() Clock {
return &ClockImpl{}
}
func (c *ClockServiceImpl) Now() time.Time {
func (c *ClockImpl) Now() time.Time {
return time.Now()
}