...

Source file src/gitlab.com/tslocum/venture/pkg/script/script.go

Documentation: gitlab.com/tslocum/venture/pkg/script

     1  package script
     2  
     3  import (
     4  	"bufio"
     5  	"bytes"
     6  	"log"
     7  )
     8  
     9  func Load(script []byte) {
    10  	scanner := bufio.NewScanner(bytes.NewReader(script))
    11  
    12  	for scanner.Scan() {
    13  		log.Println(scanner.Text())
    14  	}
    15  }
    16  

View as plain text