Code Monkey home page Code Monkey logo

apicalypse's People

Contributors

sprak3000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sprak3000

apicalypse's Issues

option.go uses outdated method signature from blank package

Found this while opening a PR against the igdb library. The build for the PR listed the following error when trying to grab the dependencies:

# github.com/Henry-Sarabia/apicalypse
../apicalypse/option.go:53:7: undefined: blank.RemoveSpace
../apicalypse/option.go:74:7: undefined: blank.RemoveSpace

Digging into it, the blank library updated to rename RemoveSpace to just Remove a few months ago.

Multiple "Where" filters should not overwrite each other

When multiple "Where" filters are applied to a single query, each filter is consecutively overwritten by the next in line. This is a side effect of using a map[string]string which maps a filter name as a key to its contents.
To fix this, amend the code to check for an existing value in the filter map under the "where" key. If one is found, simply AND the filter's together with concatenation. If not, continue normally.

Update README

The current README needs the following 3 changes:

  • The package name apicalypse should be bolded just like that
  • The godoc reference link should now point to the new go.dev
  • There should be a small reference to IGDB in case users find their way here instead of to the IGDB package.

Godoc link in README is broken

With the renaming of FuncOption to Option, the previous Godoc link is no longer valid. This should be replaced with a new link pointing to the Option section of the documentation.

Rename FuncOption to Option

The file names do not reflect the renaming of the FuncOption type to Option.
funcOption.go and funcOption_test.go should be renamed to option.go and option_test.go respectively.

Package should have tagged releases

Adopting semantic versioning using git tags will allow users to differentiate versions of the package and, more importantly, identify when the package has made a breaking change.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.