parser

package
v0.0.0-...-a2260f7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostInfo

type PostInfo struct {
	ID         int64
	Content    string
	Date       time.Time
	ImagesLink []string
}

func ParsePage

func ParsePage(data []byte) ([]PostInfo, error)

func ParsePost

func ParsePost(data []byte) (PostInfo, error)

ParsePost returns the content, date and images of a post

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL