You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: geo.go
    path of file: ./repos/peerdb/flow/geo
    
    the code of the file until where you have to start completion: package geo

import (
	"encoding/hex"
	"errors"
	"fmt"
	"log/slog"

	geom "github.com/twpayne/go-geos"
)

// retu
    
func GeoToWKB(wkt string) ([]byte, error) {
	// UnmarshalWKB performs geometry validation along with WKB parsing
	geometryObject, geoErr := geom.NewGeomFromWKT(wkt)
	if geoErr != nil {
		return []byte{}, geoErr
	}

	return geometryObject.ToWKB(), nil
}