mirror of
				https://github.com/MontFerret/ferret.git
				synced 2025-10-30 23:37:40 +02:00 
			
		
		
		
	* Added namespace builder * Fixed linting issues * Added extra check * Updated e2e lib * Renamed NamespaceBuilder to NamespaceContainer and changed func receivers * Renamed NewLib to RegisterLib
		
			
				
	
	
		
			11 lines
		
	
	
		
			201 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			201 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package utils
 | |
| 
 | |
| import "github.com/MontFerret/ferret/pkg/runtime/core"
 | |
| 
 | |
| func RegisterLib(ns core.Namespace) error {
 | |
| 	return ns.RegisterFunctions(core.Functions{
 | |
| 		"WAIT":  Wait,
 | |
| 		"PRINT": Print,
 | |
| 	})
 | |
| }
 |