diff options
| author | Shulhan <ms@kilabit.info> | 2025-07-31 20:00:28 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-07-31 20:00:28 +0700 |
| commit | bec99d46d65c451f18000a7247d3df06765a3894 (patch) | |
| tree | ad1d073ac7bcc2fc5d76c5c550c672f2a4552302 /internal | |
| parent | 9998582575aa02dbd2206497953f207af1f117d2 (diff) | |
| download | lilin-bec99d46d65c451f18000a7247d3df06765a3894.tar.xz | |
all: implement worker start and stop
The start method run all the services scanner in the background and
consume the report from it from channel.
Each time new report coming it will notify the Server to update the
index page body.
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/internal.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/internal.go b/internal/internal.go index ce6de02..46b9877 100644 --- a/internal/internal.go +++ b/internal/internal.go @@ -7,5 +7,5 @@ import "time" // Now return the current time. var Now = func() time.Time { - return time.Now() + return time.Now().UTC().Round(time.Second) } |
