Intcode Processor Work
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
module intcode
|
||||
module git.bullercodeworks.com/brian/adventofcode/intcode-processor
|
||||
|
||||
go 1.13
|
||||
|
@@ -14,6 +14,6 @@ func NewProgram(prog []int) *Program {
|
||||
return p
|
||||
}
|
||||
|
||||
func (p *Program) PrintCode() {
|
||||
fmt.Println(code)
|
||||
func (p *Program) CodeString() string {
|
||||
return fmt.Sprintf("%v", p.code)
|
||||
}
|
||||
|
Reference in New Issue
Block a user