Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 585 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 585 Bytes

go-opengraph

OpenGraph Protocol fetcher for Golang

Build Status GoDoc

Installation

$ go get github.com/masa0221/go-opengraph

Usage

package main

import (
	"fmt"
	"github.com/masa0221/go-opengraph"
)

func main() {
	og, err := opengraph.Fetch("http://ogp.me")
	if (err != nil) {
		fmt.Println(err)
	}

	fmt.Println(og)
}