Giter Site home page Giter Site logo

myapp's Introduction

Myapp

GitHub Release Go Doc Software License Powered By: GoReleaser SemVer

Overview

Myapp is an myapp app.

Folder structure

A basic tree would look like:

.
├── commands
│   ├── myapp.go
│   └── myapp_test.go
├── script
│   └── setup
├── .gitignore
├── .travis.yml
├── CONTRIBUTING.md
├── Gopkg.lock
├── Gopkg.toml
├── LICENSE
├── README.md
├── goreleaser.yml
├── magefile.go
└── main.go
  • commands/myapp.go and myapp_test.go: is the “library” of the application and its respective files. Could be more than one file, of course;
  • script: script help me start new projects faster;
  • .gitignore: some standard gitignore, vendor, binary, etc;
  • .travis.yml: tell Travis CI what to do;
  • CONTRIBUTING.md: newcommer guide;
  • Gopkg.lock and Gopkg.toml: dependencies locks and manifest;
  • README.md: what you are reading;
  • LICENSE: MIT;
  • goreleaser.yml: the GoReleaser configuration;
  • magefile.go: contains common tasks for the project, like formating, testing, linting, etc;
  • main.go: is the cli entrypoint;

Starting a new project

To use it, you can simply:

cd $GOPATH/src/github.com/youruser
git clone [email protected]/deild/myapp.git yourapp
cd myapp
./script/setup youruser YourApp # notice the case on the second arg

It is actually a working app (that does nothing), to run it:

mage vendor
go run main.go -h

Now, you create a GitHub repository for your new app and push it:

git remote add origin https://github.com/youruser/yourapp.git
git push origin master

If you check the README file, you’ll see that there are already a few badges on the bottom, but some of them are not working. Let’s fix them!

Contributing to Myapp

First of all, you can read the CONTRIBUTING.md file. It is the “newcomer guide”.

Health

Travis CodeFactor Coverage Status codecov Go Report Card

myapp's People

Contributors

deild avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.