github.com/gopherjs/gopherjs@v1.19.0-beta1.0.20240506212314-27071a8796e4/compiler/natives/natives.go (about)

     1  // Package natives provides native packages via a virtual filesystem.
     2  //
     3  // See documentation of parseAndAugment in github.com/gopherjs/gopherjs/build
     4  // for explanation of behavior used to augment the native packages using the files
     5  // in src subfolder.
     6  package natives
     7  
     8  import "embed"
     9  
    10  // FS is a virtual filesystem that contains native packages.
    11  //
    12  //go:embed src
    13  var FS embed.FS