README ¶
Example
$ go run main.go
Requesting GreetService.GetPost...
(*gen.GetPostResponse)(0xc000338000)(userId:1 id:7 title:"magnam facilis autem" body:"dolore placeat quibusdam ea quo vitae\nmagni quis enim qui quis quo nemo aut saepe\nquidem repellat excepturi ut quia\nsunt ut sequi eos ea sed quas")
Requesting KitsuService...
(*gen.KitsuAnimeResponse)(0xc0002bc000)(data:{id:"1" type:"anime" links:{self:"https://kitsu.io/api/edge/anime/1"} attributes:{createdAt:"2013-02-20T16:00:13.609Z" updatedAt:"2021-07-12T15:17:59.973Z" slug:"cowboy-bebop" synopsis:"In the year 2071, humanity has colonized several of the planets and moons of the solar system leaving the now uninhabitable surface of planet Earth behind. The Inter Solar System Police attempts to keep peace in the galaxy, aided in part by outlaw
bounty hunters, referred to as \"Cowboys\". The ragtag team aboard the spaceship Bebop are two such individuals.\nMellow and carefree Spike Spiegel is balanced by his boisterous, pragmatic partner Jet Black as the pair makes a living chasing bounties and collecting rewards. Thrown off course by the addition of new members that they meet in their travels—Ein, a genetically engineered, highly intelligent Welsh Corgi; femme fatale Faye Valentine, an enigmatic trickster with memory loss; and the strange computer whiz kid Edward Wong—the crew embarks on thrilling adventures that unravel each member's dark and mysterious past little by little. \nWell-balanced with high density action and light-hearted comedy, Cowboy Bebop is a space Western classic and an homage to the smooth and improvised music it is named after.\n\n(Source: MAL Rewrite)" description:"In the year
2071, humanity has colonized several of the planets and moons of the solar system leaving the now uninhabitable surface of planet Earth behind. The Inter Solar System Police attempts to keep peace in the galaxy, aided in part by outlaw bounty hunters, referred to as \"Cowboys\". The ragtag
team aboard the spaceship Bebop are two such individuals.\nMellow and carefree Spike Spiegel is balanced by his boisterous, pragmatic partner Jet Black as the pair makes a living chasing bounties and collecting rewards. Thrown off course by the addition of new members that they meet in their travels—Ein, a genetically engineered, highly intelligent Welsh Corgi; femme fatale Faye Valentine, an enigmatic trickster with memory loss; and the strange computer whiz kid Edward Wong—the crew embarks on thrilling adventures that unravel each member's dark and mysterious past little by little. \nWell-balanced with high density action and light-hearted comedy, Cowboy Bebop is a space Western classic and an homage to the smooth and improvised music it is named after.\n\n(Source: MAL Rewrite)" coverImageTopOffset:400 titles:{key:"en" value:"Cowboy Bebop"} titles:{key:"en_jp" value:"Cowboy Bebop"} titles:{key:"ja_jp" value:"カウボーイビバップ"} canonicalTitle:"Cowboy Bebop" abbreviatedTitles:"COWBOY BEBOP" averageRating:"82.15" ratingFrequencies:{key:"10" value:"788"} ratingFrequencies:{key:"11" value:"70"} ratingFrequencies:{key:"12" value:"2370"} ratingFrequencies:{key:"13" value:"137"} ratingFrequencies:{key:"14" value:"8003"} ratingFrequencies:{key:"15" value:"371"} ratingFrequencies:{key:"16" value:"8346"} ratingFrequencies:{key:"17" value:"763"} ratingFrequencies:{key:"18" value:"10141"} ratingFrequencies:{key:"19" value:"726"} ratingFrequencies:{key:"2" value:"4056"} ratingFrequencies:{key:"20" value:"34602"} ratingFrequencies:{key:"3" value:"60"} ratingFrequencies:{key:"4" value:"421"} ratingFrequencies:{key:"5" value:"35"} ratingFrequencies:{key:"6" value:"188"} ratingFrequencies:{key:"7" value:"38"} ratingFrequencies:{key:"8" value:"3839"} ratingFrequencies:{key:"9" value:"49"} userCount:121662 favoritesCount:4580 startDate:"1998-04-03" endDate:"1999-04-24" popularityRank:31 ratingRank:109 ageRating:"R" ageRatingGuide:"17+ (violence & profanity)" subtype:"TV" status:"finished" posterImage:{tiny:"https://media.kitsu.io/anime/poster_images/1/tiny.jpg?1597604210" small:"https://media.kitsu.io/anime/poster_images/1/small.jpg?1597604210" medium:"https://media.kitsu.io/anime/poster_images/1/medium.jpg?1597604210" large:"https://media.kitsu.io/anime/poster_images/1/large.jpg?1597604210" original:"https://media.kitsu.io/anime/poster_images/1/original.jpg?1597604210" meta:{dimensions:{key:"large" value:{width:550 height:780}} dimensions:{key:"medium" value:{width:390 height:554}} dimensions:{key:"small" value:{width:284 height:402}} dimensions:{key:"tiny" value:{width:110 height:156}}}} coverImage:{tiny:"https://media.kitsu.io/anime/cover_images/1/tiny.jpg?1597604215" small:"https://media.kitsu.io/anime/cover_images/1/small.jpg?1597604215" large:"https://media.kitsu.io/anime/cover_images/1/large.jpg?1597604215" original:"https://media.kitsu.io/anime/cover_images/1/original.jpg?1597604215" meta:{dimensions:{key:"large" value:{width:3360 height:800}} dimensions:{key:"small" value:{width:1680 height:400}} dimensions:{key:"tiny" value:{width:840 height:200}}}} episodeCount:26 episodeLength:25 totalLength:626 youtubeVideoId:"qig4KOK2R2g" showType:"TV"} relationships:{genres:{links:{self:"https://kitsu.io/api/edge/anime/1/relationships/genres" related:"https://kitsu.io/api/edge/anime/1/genres"}} categories:{links:{self:"https://kitsu.io/api/edge/anime/1/relationships/categories" related:"https://kitsu.io/api/edge/anime/1/categories"}} castings:{links:{self:"https://kitsu.io/api/edge/anime/1/relationships/castings" related:"https://kitsu.io/api/edge/anime/1/castings"}} installments:{links:{self:"https://kitsu.io/api/edge/anime/1/relationships/installments" related:"https://kitsu.io/api/edge/anime/1/installments"}} mappings:{links:{self:"https://kitsu.io/api/edge/anime/1/relationships/mappings" related:"https://kitsu.io/api/edge/anime/1/mappings"}} reviews:{links:{self:"https://kitsu.io/api/edge/anime/1/relationships/reviews" related:"https://kitsu.io/api/edge/anime/1/reviews"}} mediaRelationships:{links:{self:"https://kitsu.io/api/edge/anime/1/relationships/media-relationships" related:"https://kitsu.io/api/edge/anime/1/media-relationships"}} characters:{links:{self:"https://kitsu.io/api/edge/anime/1/relationships/characters" related:"https://kitsu.io/api/edge/anime/1/characters"}} staff:{links:{self:"https://kitsu.io/api/edge/anime/1/relationships/staff" related:"https://kitsu.io/api/edge/anime/1/staff"}} productions:{links:{self:"https://kitsu.io/api/edge/anime/1/relationships/productions" related:"https://kitsu.io/api/edge/anime/1/productions"}} quotes:{links:{self:"https://kitsu.io/api/edge/anime/1/relationships/quotes" related:"https://kitsu.io/api/edge/anime/1/quotes"}} episodes:{links:{self:"https://kitsu.io/api/edge/anime/1/relationships/episodes" related:"https://kitsu.io/api/edge/anime/1/episodes"}} streamingLinks:{links:{self:"https://kitsu.io/api/edge/anime/1/relationships/streaming-links" related:"https://kitsu.io/api/edge/anime/1/streaming-links"}} animeProductions:{links:{self:"https://kitsu.io/api/edge/anime/1/relationships/anime-productions" related:"https://kitsu.io/api/edge/anime/1/anime-productions"}} animeCharacters:{links:{self:"https://kitsu.io/api/edge/anime/1/relationships/anime-characters" related:"https://kitsu.io/api/edge/anime/1/anime-characters"}} animeStaff:{links:{self:"https://kitsu.io/api/edge/anime/1/relationships/anime-staff" related:"https://kitsu.io/api/edge/anime/1/anime-staff"}}}})
Done
Documentation ¶
There is no documentation for this package.
Click to show internal directories.
Click to hide internal directories.