code: func libRelDir(filename string) string {
  	return strings.TrimSuffix(filename, filepath.Ext(filename))
  }
docs: // get relative lib directory from library filename
  // this relative directory will be used as:
  // - lib package name
  // - lib files directory