mirror of
				https://github.com/onyx-and-iris/aoc2024.git
				synced 2025-11-03 22:41:46 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			182 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			182 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package pad
 | 
						|
 | 
						|
type coords struct {
 | 
						|
	x, y int
 | 
						|
}
 | 
						|
 | 
						|
type node struct {
 | 
						|
	coords
 | 
						|
	value rune
 | 
						|
}
 | 
						|
 | 
						|
func newNode(x, y int, value rune) node {
 | 
						|
	return node{coords: coords{x, y}, value: value}
 | 
						|
}
 |