mirror of
https://github.com/onyx-and-iris/aoc2023.git
synced 2024-11-22 18:30:48 +00:00
20 lines
443 B
Go
20 lines
443 B
Go
|
package main
|
||
|
|
||
|
type Data struct {
|
||
|
dest int
|
||
|
source int
|
||
|
offset int
|
||
|
}
|
||
|
|
||
|
var seeds = []int{}
|
||
|
|
||
|
var dataMap = map[string][]Data{
|
||
|
"seed-to-soil": make([]Data, 0),
|
||
|
"soil-to-fertilizer": make([]Data, 0),
|
||
|
"fertilizer-to-water": make([]Data, 0),
|
||
|
"water-to-light": make([]Data, 0),
|
||
|
"light-to-temperature": make([]Data, 0),
|
||
|
"temperature-to-humidity": make([]Data, 0),
|
||
|
"humidity-to-location": make([]Data, 0),
|
||
|
}
|