mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-21 13:01:16 +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
|
||
|
}
|