Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit e6ea377

Browse files
committed
Update default API URL and clean up imports
Changed DefaultURL in CheckLogs.go to use 'https://checklogs.dev' instead of the API subdomain. Removed unused 'log' import from examples/basic.go. No functional changes to go.mod except for a newline.
1 parent cb7ee77 commit e6ea377

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

CheckLogs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515

1616
const (
1717
Version = "1.0.0"
18-
DefaultURL = "https://api.checklogs.dev"
18+
DefaultURL = "https://checklogs.dev"
1919
)
2020

2121
// LogLevel represents the severity level of a log entry

examples/basic.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package main
33
import (
44
"context"
55
"fmt"
6-
"log"
76
"os"
87
"time"
98

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module checklogs
22

3-
go 1.21
3+
go 1.21

0 commit comments

Comments
 (0)