Versions in this module Expand all Collapse all v1 v1.3.0 Feb 25, 2025 Changes in this version + func CaptureElementScreenshot(htmlFile, outputImageFile string, w, h int) error + func GenerateHTMLFile(outputFile string, data GTData) error + func ReadInputLines(linesCount int) ([]string, error) + func ReadLinesFromFile(filePath string) ([]string, error) + func WriteToGreentext(dest string, tmpl []byte, lines []string, thumbnailPath, font string, ...) error + type GTData struct + FontSize int + Lines []string + StyleBlock template.HTML + Template []byte + Thumbnail string + ThumbnailSize int + Timestamp string + UniqueID string