docs: add godoc comments to all exported functions and methods
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"github.com/go-viper/mapstructure/v2"
|
||||
)
|
||||
|
||||
// Load reads a structure NBT file and returns the decoded Structure.
|
||||
func Load(fileName string) (s *Structure, err error) {
|
||||
n, err := nbt.ReadUnstructuredFilePath(fileName)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user