mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-20 04:21:02 +01:00
15 lines
241 B
Go
15 lines
241 B
Go
//go:build offline
|
|
// +build offline
|
|
|
|
package lib
|
|
|
|
import "net/http"
|
|
|
|
func GetHttpClient() *http.Client {
|
|
panic("Cannot GetHttpClient() from a hishtory client compiled with the offline tag!")
|
|
}
|
|
|
|
func IsOfflineBinary() bool {
|
|
return true
|
|
}
|