thread

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2022 License: MIT Imports: 13 Imported by: 0

README

aethiopicuschan/thread

Golang library to get 5ch threads.

Getting Started

go get github.com/aethiopicuschan/thread

Usage

package main

import "github.com/aethiopicuschan/thread"

func main() {
  threads, err := thread.Get("https://greta.5ch.net/poverty/")
  ...
}

Running Tests

go test

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Thread

type Thread struct {
	Time   int64
	Title  string
	ResNum int
	Src    string
	BeID   string
	Ikioi  float32
}

func Get

func Get(board string) (threads []Thread, err error)

引数の例: https://greta.5ch.net/poverty/

Jump to

Keyboard shortcuts

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