mirror of
https://github.com/ddworken/hishtory.git
synced 2025-04-02 12:32:45 +02:00
Delete no longer used function
This commit is contained in:
parent
6d95b759f6
commit
0c202e4130
@ -291,13 +291,6 @@ func RunTestServer() func() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func CheckWithInfo(t *testing.T, err error, additionalInfo string) {
|
|
||||||
if err != nil {
|
|
||||||
_, filename, line, _ := runtime.Caller(1)
|
|
||||||
t.Fatalf("Unexpected error: %v at %s:%d! Additional info: %v", err, filename, line, additionalInfo)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func IsOnline() bool {
|
func IsOnline() bool {
|
||||||
_, err := http.Get("https://hishtory.dev")
|
_, err := http.Get("https://hishtory.dev")
|
||||||
return err == nil
|
return err == nil
|
||||||
|
Loading…
Reference in New Issue
Block a user