package client import ( "fmt" ) func UpdatePriceHisotry(client *FhoClient, price *PriceChangeHistory) error { err := client.update("station_price_updates", price) if err != nil { fmt.Println("update error:", err.Error()) return err } return nil }