mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: module init function & init consts for cached modules
This commit is contained in:

committed by
Alexander Medvednikov

parent
c7e47e6884
commit
51388fea75
@ -1,9 +1,5 @@
|
||||
module net
|
||||
|
||||
const (
|
||||
_ = net.init()
|
||||
)
|
||||
|
||||
// hostname returns the host name reported by the kernel.
|
||||
pub fn hostname() ?string {
|
||||
mut name := [256]byte
|
||||
|
Reference in New Issue
Block a user