hishtory/client/lib/net_disabled.go

15 lines
241 B
Go
Raw Permalink Normal View History

//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
}