mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 21:13:39 +00:00
net: os: add more stubs for 1.15
Fix importing net/http.
This commit is contained in:
committed by
GitHub
parent
e107efa63f
commit
64058c3efb
@@ -44,3 +44,8 @@ const (
|
||||
func (m FileMode) IsDir() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// IsRegular is a stub, always returning false
|
||||
func (m FileMode) IsRegular() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user