rows, err := db.Query("SELECT * FROM users WHERE age > ?", 18) if err != nil { // handle error } defer rows.Close() columns, err := rows.Columns() if err != nil { // handle error } numberOfColumns := len(columns)In this example, we execute a SELECT SQL query to retrieve all users whose age is greater than 18. We then get the metadata information for the result set by calling the `rows.Columns()` method, which returns a slice of strings representing the column names. We also get the number of columns by getting the length of the slice. The `Rows Columns` struct is part of the standard `database/sql` package in Go, which provides a generic database interface for accessing SQL databases.