Skip to content

Commit

Permalink
Merge pull request #1 from pengisgood/master
Browse files Browse the repository at this point in the history
chore: initial commit
  • Loading branch information
pengisgood authored Aug 5, 2020
2 parents 0d0badc + 58ddce1 commit 3a2cb88
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 23 deletions.
44 changes: 21 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,33 @@
# justauth-go
Go JustAuth
Go version of JustAuth

# 期待你的加入
## Join Us

JustAuth 到如今以获得关注:![](https://img.shields.io/github/stars/zhangyd-c/JustAuth.svg?style=social) ![](https://gitee.com/yadong.zhang/JustAuth/badge/star.svg?theme=gvp),JustAuth 能取到如此成绩离不开社区小伙伴的努力和广大技术圈朋友的支持,时至今日,JustAuth 已渐趋完善,但仍有很大的提升空间。
JustAuth has received widespread attention: ![](https://img.shields.io/github/stars/zhangyd-c/JustAuth.svg?style=social) ![](https://gitee.com/yadong.zhang/JustAuth/badge/star.svg?theme=gvp),JustAuth can't becomes so popular without the great effort of community members'. As time goes by, JustAuth has a lot of features now and still keep improving.

如果你对 JustAuth 感兴趣,如果你对开源比较感兴趣,那么我们期待你的参与。
If you are interested in **`JustAuth`**, if you are interested in the open source community, we look forward to your participation.

## Contributing Steps

# 参与步骤
- fork this repo
- clone the your forked repo to your local
- make changes on the `dev` branch
- commit & push to your forked repo
- create PR(pull request)to the upstream
- wait for the code review and approval

- fork 本项目到自己的 repo 。注意:一定要先 fork 到自己的仓库哦
- 把 fork 过去的项目也就是你仓库中的项目 clone 到你本地
- 修改代码( `dev` 分支)
- commit & push 到自己的仓库
- 发起 PR(pull request) 请求,提交到本项目的 dev 分支
- 等待管理员合并
Sincerely look forward to your joining, **it is a kind of happiness to do something with people sharing the same value!**

## Overview

真诚的期待你的加入,**和一群志同道合的朋友一起做一件喜欢的事情是一种幸福!**
* Stable versions

# JustAuth 项目一览

## 已完成

[Java 版](https://github.com/justauth/JustAuth)(已完成)
[.Net 版](https://github.com/justauth/CollectiveOAuth)(已完成)
1. [Java](https://github.com/justauth/JustAuth) (Stable)
2. [.Net](https://github.com/justauth/CollectiveOAuth) (Stable)

## 未开始
* Need help

[Python 版](https://github.com/justauth/justauth-python)(未开始)
[Go 版](https://github.com/justauth/justauth-go)(未开始)
[Node](https://github.com/justauth/justauth-node)(未开始)
[PHP](https://github.com/justauth/justauth-php)(未开始)
1. [Go](https://github.com/justauth/justauth-go) (Developing)
2. [Python](https://github.com/justauth/justauth-python) (TODO)
3. [Node](https://github.com/justauth/justauth-node) (TODO)
4. [PHP](https://github.com/justauth/justauth-php) (TODO)
5 changes: 5 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module github.com/justauth/justauth-go

go 1.14

require github.com/stretchr/testify v1.6.1
11 changes: 11 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
5 changes: 5 additions & 0 deletions justauth.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package justauth

func Hello() string {
return "Hello, justauth."
}
10 changes: 10 additions & 0 deletions justauth_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package justauth

import "testing"
import "github.com/stretchr/testify/assert"

func TestHello(t *testing.T) {
want := "Hello, justauth."

assert.Equal(t, want, Hello())
}

0 comments on commit 3a2cb88

Please sign in to comment.