github.com/lossdev/stack (go): Package stack aims to provide a fast, simple, thread safe, and user friendly stack library. Stacks that are composed of primitive types (int, float64, string, bool) inherit from their parent GenericStacks, which can be of any data type. GenericStacks must be type asserted when retrieving their values, however, primitive Stacks include wrapping functions that will easily return the intended types for you. This way, completeness and user friendliness (through avoiding user-side type assertions when possible) is achieved.
Keywords: golang|stack