otto: Index | Files

package registry

import ""

Package registry is an expirmental package to facillitate altering the otto runtime via import.

This interface can change at any time.


Package Files


func Apply Uses

func Apply(callback func(Entry))

type Entry Uses

type Entry struct {
    // contains filtered or unexported fields

func Register Uses

func Register(source func() string) *Entry

func (*Entry) Disable Uses

func (self *Entry) Disable()

func (*Entry) Enable Uses

func (self *Entry) Enable()

func (Entry) Source Uses

func (self Entry) Source() string

Package registry is imported by 104 packages. Updated 2016-07-24. Refresh now. Tools for package owners.