<commit_before>package hb_test

import (
	"fmt"
	"log"

	"bitbucket.org/nstratos/go-hummingbird/hb"
)

func ExampleAnimeService_Get() {
	c := hb.NewClient(nil)

	anime, _, err := c.Anime.Get("nichijou", "english")
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println("Title:", anime.Title)
	fmt.Println("Synopsis:", anime.Synopsis)
}

func ExampleAnimeService_Search() {
	c := hb.NewClient(nil)

	anime, _, err := c.Anime.Search("anohana")
	if err != nil {
		log.Fatal(err)
	}
	for i, a := range anime {
		fmt.Printf("--- Search result #%d ---\n", i+1)
		fmt.Printf("Title: %v\n", a.Title)
		fmt.Printf("Synopsis: %v\n\n", a.Synopsis)
	}
}
<commit_msg>change import path to github in examples<commit_after>package hb_test

import (
	"fmt"
	"log"

	"github.com/nstratos/go-hummingbird/hb"
)

func ExampleAnimeService_Get() {
	c := hb.NewClient(nil)

	anime, _, err := c.Anime.Get("nichijou", "english")
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println("Title:", anime.Title)
	fmt.Println("Synopsis:", anime.Synopsis)
}

func ExampleAnimeService_Search() {
	c := hb.NewClient(nil)

	anime, _, err := c.Anime.Search("anohana")
	if err != nil {
		log.Fatal(err)
	}
	for i, a := range anime {
		fmt.Printf("--- Search result #%d ---\n", i+1)
		fmt.Printf("Title: %v\n", a.Title)
		fmt.Printf("Synopsis: %v\n\n", a.Synopsis)
	}
}

{'fraction_non_alphanumeric': 0.1951588502269289, 'fraction_numerical': 0.0015128593040847202, 'mean_word_length': 3.810909090909091, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1955367', 'n_tokens_mistral': 593, 'n_tokens_neox': 567, 'n_words': 106}