New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/onwsk8r/gotime

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/onwsk8r/gotime

  • v0.0.0-20180926023312-847d61e915b7
  • Source
  • Go
  • Socket score

Version published
Created
Source

Gotime Build Status Coverage Status Documentation Code Size Go Report Card GitHub issues license

A small library of useful extensions to Golang's time package

Documentation

Use the Source! The package comment has additional details; all in all, we're just trying to keep the docs DRY.

700mb Overview

If there's one thing computers are bad at, it's working with dates. On the one hand, we have libraries such as moment.js which give us basic functionality that is mostly already present in Go. On the other hand, though, there's a lot of functionality that would be nice to have, such as parsing JSON dates that aren't accurate to the millisecond or anything involving workdays. This library also aims to provide convenience functions (aren't all functions really just convenience functions?) for finding and comparing dates.

Help Us Grow

If you have functionality that you'd like to add to this library or decouple from an app, feel free to open a feature request with some sample code. If you have a great idea, we'd love to hear about it! If your timing is serendipitous, I'll write it myself.

Issues/Contributions

  • Fork the repo
  • Create a feature branch or don't, it doesn't matter- it's your repo.
  • Write your tests or ask for help doing so (I use Ginkgo)
  • Write your functionality
  • Open a PR

Failure to participate in step 3 will result in me fixing your code and commenting judiciously on your inability to write decent software in comments that will appear in godoc. The first result on Google for your username won't be very flattering.

FAQs

Package last updated on 26 Sep 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc