npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

go_manager

v0.6.0

Published

#### 项目介绍 go版本管理工具(思路源于yarn)

Downloads

48

Readme

go_manager

项目介绍

go版本管理工具(思路源于yarn)

  1. 熟悉npm或者yarn的,零学习成本

  2. go的各个项目之间完全隔离

  3. 三方依赖版本管理

安装

  1. yarn global add go_manager

帮助文档

  1. gom --help

使用说明

  1. (安装依赖) gom add github.com/kataras/[email protected]

  2. (卸载依赖) gom remove github.com/kataras/iris

  3. (安装package.json中所有依赖) gom install

  4. (安装开发环境依赖, 用gitee.com/kataras/iris替代路径) gom add github.com/kataras/iris:gitee.com/kataras/iris master --dev

  5. (安装package.json中除了开发环境依赖的所有依赖) gom install --production

  6. (更新三方库版本) gom upgrade github.com/kataras/iris@latest

  7. (与 gom install 一致) gom

  8. (初始化go项目) gom init

  9. (执行package.json中的命令) gom <package.json中scripts中的命令>

  10. (格式化go代码) gom format

  11. (安装全局包) gom global add github.com/codegangsta/gin

  12. (卸载全局包) gom global remove github.com/codegangsta/gin

  13. (热启动) gom start src/main/main.go

  14. (单元测试,测试utils包中的Haha方法) gom test utils --run TestHaha

  15. 输入rs,按回车,自动reload(注意:只适用于直接gom start {..}启动的)

  16. (编译。不指定--os和--arch则自动编译为操作系统支持的格式) gom build --os linux --arch 386

  17. (在当前项目下执行命令) gom wrap "go install main"

所有三方库存放在 src/vendor 中