Socket
Book a DemoInstallSign in
Socket

github.com/4hakke/repl-pokedex

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/4hakke/repl-pokedex

Source
Go
Version
v0.0.0-20241007173929-8a035a01fce8
Version published
Created
Source

Overview

Purpose of the repo is to practice some Go learnings obtained through joy, sweat and tears at boot.dev. The program itself is yet another pokemon cli that allows to complete some basic operations:

  • iterate through locations
  • check for pokemons in a location area
  • catch pokemons
  • and inspect basic stats of caught pokemons

Structure

The program is split in 4 internal packages:

  • repl - read command input and coordinate to corresponding supported command
  • pokedex - contains some domain knowledge about pokemons and actions
  • network-client - generic layer to make GET request
  • cache - generic layer for caching

FAQs

Package last updated on 07 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts