srl-labs / containerlab

Documentation of an exported function should start with the function’s name GO-D5001
Documentation
Minor
1 occurrence in this check
comment on exported function FindTopoFileByPath should be of the form "FindTopoFileByPath ..."
171	return file, nil
172}
173
174// findTopoFileByPath takes a topology path, which might be the path to a directory175// and returns the topology file name if found.
176func FindTopoFileByPath(path string) (string, error) {
177	finfo, err := os.Stat(path)