Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTweetFragment ¶
func CreateTweetFragment(tweet *twitter.ParsedTweet, actorId id.ID, embedding []float32) (*db.Fragment, error)
Helper method to create fragment from tweet
func DecodeTweetMetadata ¶
func DecodeTweetMetadata(input interface{}, result *twitter.ParsedTweet) error
DecodeTweetMetadata is a helper function to decode tweet metadata using json tags
func SmartUnmarshal ¶
SmartUnmarshal removes Markdown code fences from the input data (if present) and then unmarshals the remaining JSON into `v`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.