mirror of
https://github.com/usual2970/certimate.git
synced 2025-08-15 13:51:45 +00:00
refactor: clean code
This commit is contained in:
@@ -15,6 +15,7 @@ func NewStatisticsRepository() *StatisticsRepository {
|
||||
|
||||
func (r *StatisticsRepository) Get(ctx context.Context) (*domain.Statistics, error) {
|
||||
rs := &domain.Statistics{}
|
||||
|
||||
// 所有证书
|
||||
certTotal := struct {
|
||||
Total int `db:"total"`
|
||||
|
Reference in New Issue
Block a user