func (s Gallery) GetTitle() string {
	if s.Title.String != "" {
		return s.Title.String
	}

	if s.Path.Valid {
		return filepath.Base(s.Path.String)
	}

	return ""
}
// GetTitle returns the title of the scene. If the Title field is empty,
// then the base filename is returned.
GetTitle returns the title of the scene. If the Title field is empty,
then the base filename is returned.
// GetTitle returns the title of the scene . If the Title field is empty // then the base filename is returned .
func (s Gallery) GetTitle() string {
	if s.Title.String != "" {
		return s.Title.String
	}
	if s.Path.Valid {
		return filepath.Base(s.Path.String)
	}
	return ""
}
func ( s Gallery ) GetTitle ( ) string { if s . Title . String != " " { return s . Title . String } if s . Path . Valid { return filepath . Base ( s . Path . String ) } return " " }
GetTitle returns the title of the scene.
GetTitle returns the title of the scene .