Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates #1

Merged
merged 370 commits into from
Jan 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
370 commits
Select commit Hold shift + click to select a range
d981ef5
Update README.md (#2490)
akeyboardlife Apr 26, 2019
69f523f
Add goreadability (#2485)
philipjkim Apr 26, 2019
9b47366
Add go-mod-outdated (#2481)
psampaz Apr 26, 2019
7730d80
Add STL library (#2415)
russoj88 Apr 26, 2019
3d01d5e
Go modules are the official package management going forward (#2492)
devadvance Apr 29, 2019
b7050f2
Update README.md (#2487)
srfrog Apr 29, 2019
4dc9bb5
Added gomalshare package (#2480)
MonaxGT Apr 29, 2019
c72971b
Tripadvisor (#2488)
mrbenosborne Apr 29, 2019
059c2d4
Add riemann-relay to Server Applications (#2493)
blind-oracle Apr 29, 2019
5a17875
Add rollingwriter (#2494)
arthurkiller Apr 29, 2019
eba4a00
Add go-elasticsearch (#2486)
karmi Apr 30, 2019
bf353b1
Removing gometalinter (deprecated) (#2501)
Dynom May 2, 2019
c2162d8
Data Science: Bradley-Terry model package (#2496)
seanhagen May 2, 2019
6bad240
Add bus package (#2507)
mustafaturan May 7, 2019
c661111
gomodel is unmaintained (#2506)
k3a May 7, 2019
0b75fac
Added gosddl package (#2479)
MonaxGT May 7, 2019
62a1aaf
Add go-premailer, inline styling for HTML mail (#2499)
vanng822 May 7, 2019
f324e24
Add Wails (#2500)
dangoor May 7, 2019
3177095
add `github.com/spyzhov/ajson` library (#2502)
spyzhov May 7, 2019
7441058
Update README.md (#2509)
foolin May 9, 2019
9b3cc69
Update resgate (#2523)
jirenius May 14, 2019
b04aa00
Add currency computation package (#2524)
bnkamalesh May 17, 2019
a69c78a
Add vardius/gollback (#2522)
vardius May 17, 2019
83f008f
Added AnikHasibul/queue (#2528)
AnikHasibul May 20, 2019
f4441da
message digest for large files (#2527)
codingsince1985 May 20, 2019
a2ebb20
Add go-problemdetails package (#2526)
mvmaasakkers May 20, 2019
a533a4a
add testcase to the README.md testing section (#2525)
adamluzsi May 20, 2019
1bd1ecd
add ltsv (#2521)
Wing924 May 20, 2019
565072a
Add aerogo/log (#2520)
akyoto May 20, 2019
f0c2fe0
Add aerogo/codetree (#2519)
akyoto May 20, 2019
6dbe03b
Add akyoto/cache (#2518)
akyoto May 20, 2019
6c8c818
Add 'script', a library for DevOps tasks (#2517)
bitfield May 20, 2019
a2b11d5
Add iplib to networking section (#2515)
c-robinson May 20, 2019
7a364fe
Add numa (#2513)
lrita May 20, 2019
be2d38d
Add go-appindicator (#2511)
dawidd6 May 20, 2019
d4f5ca7
Add psql-streamer to Server Applications (#2498)
blind-oracle May 21, 2019
6dce3b2
Added datagen (#2495)
codingconcepts May 21, 2019
8fb8137
Added generis tool (#2482)
ecstaticcoder May 21, 2019
c1b79db
Add parsefields package (#2478)
MonaxGT May 21, 2019
94da932
add command-line-tool (#2514)
liujianping May 23, 2019
9122b28
Remove Banshee (#2535)
sspaink May 24, 2019
ed86f8c
Fix Goa name,url and description to more accurate (#2536)
tkvw May 24, 2019
6e8eff7
Add onnx-go (#2489)
blackrez May 26, 2019
497615c
add x-mod/routine package (#2540)
liujianping May 27, 2019
e418a90
update maintenance status of mgo (#2538)
May 27, 2019
9f91137
Add victoriametrics to database list (#2539)
valyala May 27, 2019
f93ae30
db-migration: add migrator (#2531)
lopezator May 28, 2019
c73c9e5
Create FUNDING.yml
avelino May 28, 2019
6baedb2
Add Golang Korea meetup (#2546)
mingrammer May 30, 2019
051bb23
Add github.com/cabify/gotoprom library (#2543)
colega Jun 5, 2019
967f714
Add certificates (#2548)
Jun 5, 2019
1eee8f2
Add inject (#2549)
Jun 5, 2019
4dc730e
add cmdr (#2550)
hedzr Jun 5, 2019
b7596d1
Add qmuntal/gltf to README (#2553)
qmuntal Jun 6, 2019
78cc21f
added OSX sleep/wake notifier
prashantgupta24 Jun 7, 2019
0a959b0
Add gocontainer (#2557)
vardius Jun 7, 2019
bb33608
Add a dot
ceriath Jun 7, 2019
dd77ab4
typo fix to WebDriver (#2561)
michilu Jun 11, 2019
b1271a0
Add Basel Go Meetup to the list of meetups (#2565)
francescomari Jun 14, 2019
4f2f6cf
Added GoSF to meetups list (#2568)
nsleche Jun 15, 2019
7f79e6b
add mac-activity-tracker library (#2562)
prashantgupta24 Jun 17, 2019
e1637d1
Added Canberra Gohpers (#2571)
Jun 17, 2019
740726c
Add muyo/sno (#2559)
alcore Jun 17, 2019
c44ae7a
README.md: Add goimghdr (#2567)
corona10 Jun 17, 2019
470fbf7
Add go-exiftool (#2560)
barasher Jun 17, 2019
de81da1
Add hasgo to generate tools (#2570)
DylanMeeus Jun 17, 2019
15af9c6
Added dbt to Utilities section (#2564)
Jun 17, 2019
f96b0d5
Merge branch 'patch-1' of github.com:prashantgupta24/awesome-go into …
avelino Jun 17, 2019
f3c1d84
Merge branch 'prashantgupta24-patch-1'
avelino Jun 17, 2019
ae13211
Add Gilbert task runner (#2554)
x1unix Jun 17, 2019
b093c76
add commander (#2475)
jeroenrinzema Jun 17, 2019
b046a1e
Added project Tagify (#2569)
smeshkov Jun 17, 2019
bdaa464
Add studygolang.com and ebook (#2505)
polaris1119 Jun 18, 2019
9f63a8f
Added dragonboat. (#2574)
lni Jun 19, 2019
50d26d6
Added go-firestorm ORM lib for firestore (#2576)
jschoedt Jun 21, 2019
32a617f
add github.com/AaronJan/Hunch (#2577)
AaronJan Jun 27, 2019
22b88c7
Add github.com/lalamove/konfig (#2575)
francoispqt Jun 27, 2019
9b38a22
name correction (#2586)
sahajre Jul 1, 2019
df53c2d
add gophercon australia (#2591)
pjebs Jul 1, 2019
6c0b501
Update FUNDING.yml
avelino Jul 1, 2019
74a1c31
Adding harvester (#2596)
mantzas Jul 1, 2019
ceb68ec
Adding patron (#2595)
mantzas Jul 1, 2019
9fb722c
add tracer package (#2584)
kamilsk Jul 1, 2019
76ae71a
Add slackscot to Bot Building Packages (#2581)
alexandre-normand Jul 1, 2019
489b510
Add alexedwards/scs (#2580)
alexedwards Jul 1, 2019
caf1097
Add knadh/koanf under the Configuration section (#2578)
knadh Jul 1, 2019
597816f
cover.run not exit more :/
avelino Jul 1, 2019
678cca9
adding in ops (#2597)
eyberg Jul 2, 2019
7289caa
uniq added under UUID (#2573)
rwxrob Jul 4, 2019
4f7d556
Added Golang Gurgaon meetup. (#2607)
chughpiyush Jul 6, 2019
b11edd5
docs: fix typo (#2610)
Jason-Cooke Jul 7, 2019
aeeeaba
Add Darkroom to the Images section (#2598)
ajatprabha Jul 11, 2019
12103f2
Add Nano ID - unique ID generator (#2600)
DairAidarkhanov Jul 11, 2019
12f10fb
add linker to awesome-go misc section (#2605)
dspasibenko Jul 11, 2019
658b5e7
Added ptrie (#2606)
adranwit Jul 11, 2019
b161d86
Add godis, a redis client library (#2601)
piaohao Jul 11, 2019
1b91233
Added to authentication (#2583)
brianvoe Jul 11, 2019
69490f8
Add unioffice to Microsoft Office (#2617)
steve0hh Jul 11, 2019
2f4b7fc
Add golang from zero to hero (#2616)
milap-neupane Jul 19, 2019
b7b46b7
added go-jsonerror package (#2618)
ddymko Jul 19, 2019
d57d63a
uniq url package path change (#2620)
rwxrob Jul 19, 2019
baa6d4d
Add redisqueue (#2621)
robinjoseph08 Jul 19, 2019
d6643b9
add ts command line tool (#2589)
liujianping Jul 19, 2019
86c9a48
Add flute (#2624)
suzuki-shunsuke Jul 22, 2019
9ded487
Add thazelart/terraform-validator in validation (#2628)
thazelart Jul 27, 2019
92d0020
add performance section (#2631)
kamilsk Aug 9, 2019
6369657
Add apitest (#2633)
fergusstrange Aug 9, 2019
3fc013e
add go-streams library (#2555)
reugn Aug 9, 2019
861699a
Add package: rux (#2635)
inhere Aug 9, 2019
becb9e4
goptuna: hyperparameter optimization framework. (#2636)
c-bata Aug 9, 2019
aa806e6
Remove cosiner/zerver (#2657)
ss7loginov Aug 9, 2019
26ce7bc
remove low-quality repo (#2669)
yinggaozhen Aug 12, 2019
b3e4098
Add SFTPGo a full featured and highly configurable SFTP server (#2644)
drakkan Aug 12, 2019
8485fb9
Update README.md (#2645)
pjebs Aug 12, 2019
24c08e8
Nio has moved (#2676)
waghanza Aug 18, 2019
58ec1c7
rkt has been archived by the CNCF (#2683)
clockworksoul Aug 21, 2019
63d9ec5
authentication: add jeff (#2545)
abraithwaite Aug 23, 2019
234c2fc
Add new repository: pletter (#2614)
felipeumpierre Aug 31, 2019
050361e
Added the mailgun-go library to the list. (#2497)
olku Sep 19, 2019
b635786
Add emperror (#2632)
sagikazarmark Sep 19, 2019
ae15371
Add genv (#2637)
sakirsensoy Sep 19, 2019
d4e7bf0
Add implementation of Python's module "textwrap" (#2639)
isbm Sep 19, 2019
ea96b63
Added neuronlabs/errors Error Handling package (#2647)
kucjac Sep 19, 2019
eaf7cd6
added swithek/sessionup package (#2651)
swithek Sep 19, 2019
6f036fd
Add Dnote to the Command Line section (#2652)
Sep 19, 2019
9a7d59d
update ghorg description (#2656)
gabrie30 Sep 19, 2019
204e57c
Added go-sundheit - a service health checks lib to distributed system…
eranharel Sep 19, 2019
383b034
Added libgoffi (#2663)
noctarius Sep 19, 2019
c5e3c2d
Add go-here under third party apis. (#2670)
abdullahselek Sep 19, 2019
21aaf53
Add modern go application (#2672)
sagikazarmark Sep 19, 2019
3a2b878
add dockerfile-generator (#2680)
ozankasikci Sep 19, 2019
c75c622
Add ztrue/shutdown in utils (#2684)
ztrue Sep 19, 2019
16b664f
Add goroute router (#2685)
anjmao Sep 19, 2019
f21323d
Add goa (#2693)
NicholasCao Sep 19, 2019
03cfc5c
add env package (#2694)
nasermirzaei89 Sep 19, 2019
549dec3
Add go-powerdns (#2698)
joeig Sep 19, 2019
428fc7c
The placement of "Server applications" in menu in accordance with con…
romanegunkov Sep 19, 2019
25f9262
Remove go-couchdb: Unmantained (#2711)
flimzy Sep 19, 2019
7d91f2c
Add Skeema to section for database schema migration (#2702)
evanelias Sep 19, 2019
d376c18
gowp (#2714)
xxjwxc Sep 20, 2019
fd47c2c
Add croc (#2704)
schollz Sep 20, 2019
9f3c2fd
Add gnet to the networking section (#2715)
panjf2000 Sep 20, 2019
f042afb
add bigfile (#2720)
gamelife1314 Sep 20, 2019
407b684
Add rest-go (#2716)
edermanoel94 Sep 20, 2019
ee0f307
Add Kivik to list (#2725)
flimzy Sep 21, 2019
0dfc091
Add Falcon And Straf (#2710)
ThundR67 Sep 21, 2019
3888076
gofal (#2723)
xxjwxc Sep 22, 2019
03435a0
Added abstract file storage (file,scp,gs,s3,mem) (#2727)
adranwit Sep 22, 2019
8c2d6b0
Add m-zajac/json2go (#2729)
m-zajac Sep 23, 2019
c397f52
Add Golang Developer Job Board (#2733)
stefanwuthrich Sep 23, 2019
74e921b
Add dudeldu (#2705)
krotik Sep 24, 2019
d5192cb
ginrpc (#2724)
xxjwxc Sep 26, 2019
9b0e695
Adds adlio/schema (#2735)
adlio Sep 26, 2019
2edf553
Add Scope (#2736)
ThundR67 Sep 26, 2019
07ce271
Add gohive (#2739)
loveleshsharma Sep 26, 2019
d1f9089
Remove requirement for two reviews (#2743)
ceriath Sep 27, 2019
68589ea
Add tdewolff/canvas (#2740)
tdewolff Sep 27, 2019
ab9f870
Add myself here
panjf2000 Sep 28, 2019
fd5e17d
Add remember-go (#2732)
pjebs Sep 29, 2019
3818f0f
Add go-jet. (#2728)
go-jet Sep 29, 2019
16b3707
Add qmuntal/stateless (#2744)
qmuntal Sep 29, 2019
8ad7a82
Add wI2L/jettison (#2745)
wI2L Sep 30, 2019
39c969c
Add mennanov/limiters (#2748)
mennanov Oct 1, 2019
fe83b60
Create .dockerignore to speedup build. (#2749)
hloeffler Oct 1, 2019
f225be2
Added go-simple-mail (#2738)
xhit Oct 1, 2019
c2bd5fc
Add github.com/cabify/logrusiowriter (#2750)
colega Oct 1, 2019
4622c78
update redis-lock deprecated repository link (#2751)
cikupin Oct 1, 2019
0793252
add Go design patterns (#2752)
cikupin Oct 1, 2019
65bd7b8
Add rain (#2753)
cenkalti Oct 4, 2019
97620ec
Add golangcode to tutorial links (#2758)
Oct 4, 2019
42571e0
Add sreq (#2755)
Oct 4, 2019
512f2ee
The prose package is only for English. (#2761)
lpintes Oct 5, 2019
88a78f5
Add golobby/container to the list of Dependency Injection packages (#…
Oct 6, 2019
0ec7a5a
fix(gorgonia): repo URL has changed (#2763)
owulveryck Oct 8, 2019
4461ec2
Remove gravityblast/traffic and go-gem/gem - both flagged as unmainta…
danielpoe Oct 10, 2019
064a9d2
Add Programming with Google Go Specialization (#2765)
AmrDeveloper Oct 11, 2019
85b678c
Add cel-go (#2756)
tobiaszheller Oct 12, 2019
f7a56d9
Remove Gomail since it's unmaintained since 2016. (#2772)
3stadt Oct 13, 2019
581ae39
Add link to parsyl's parquet reader/writer lib (#2737)
cswank Oct 13, 2019
b84a3b6
Adds bitcask & bitraft to Database section (#2776)
prologic Oct 14, 2019
8eae226
add trial (#2779)
jgroeneveld Oct 14, 2019
42f657b
add schema (#2778)
jgroeneveld Oct 14, 2019
1336fb5
Update README.md (#2775)
Oct 14, 2019
9cefee6
Add sqlf (#2774)
leporo Oct 14, 2019
06a51dd
Add maroto (#2707)
johnfercher Oct 14, 2019
f675744
Add Allenxuxu/gev (#2741)
Allenxuxu Oct 14, 2019
cab9a1a
Add lastpass-go (#2747)
ansd Oct 14, 2019
e89fcf5
Add fxamacker/cbor (#2746)
fxamacker Oct 14, 2019
da8bfd0
Add new resource (#2777)
marqbeniamin Oct 14, 2019
8a20b9a
doc: Add link for Berlin meetup group (#2780)
addityasingh Oct 14, 2019
6a02c9f
Add wroge/wgs84 (#2781)
wroge Oct 14, 2019
5e62ca9
Update GopherCon Europe to Berlin (#2785)
sleeping-barber Oct 17, 2019
ddabe48
Add bucket to the database tools (#2782)
PumpkinSeed Oct 19, 2019
1577775
Removed unmaintained abutil (#2787)
magmast Oct 19, 2019
3335099
Add jcli add a devops tool (#2784)
LinuxSuRen Oct 20, 2019
b496a0a
Add vl-go api client. (#2789)
abdullahselek Oct 20, 2019
883acd7
Add eko/gocache (#2790)
eko Oct 20, 2019
2704d9c
Added GoPlantUML to awesome-go (#2793)
jfeliu007 Oct 23, 2019
a39665a
Add terraform-provider-openapi (#2783)
dikhan Oct 23, 2019
b48fe1c
Removed ian-kent/goose (#2801)
painhardcore Oct 28, 2019
0cae072
Removed unmaintained and untested flac (#2799)
painhardcore Oct 28, 2019
84704a8
Update http clients section (#2797)
kishaningithub Oct 28, 2019
97b338e
Add SimonBaeumer/cmd go package (#2795)
SimonBaeumer Oct 28, 2019
7b6dc56
Add liftbridge to the Distributed Systems section (#2796)
punkeel Oct 30, 2019
3a24d05
remove jwc (#2803)
aaronraff Oct 30, 2019
11ec240
remove color (#2806)
aaronraff Nov 1, 2019
b300c55
Add Coffer (#2786)
claygod Nov 6, 2019
43c90a7
Add flamingo framework (#2770)
danielpoe Nov 6, 2019
4bba006
Add 1build tool - command line (#2754)
gopinath-langote Nov 6, 2019
d201f1d
Add golobby/config (#2807)
Nov 6, 2019
fc1c06b
Add video/m3u8 library (#2810)
grafov Nov 13, 2019
b9e2383
Added go-waitgroup (#2815)
pieterclaerhout Nov 15, 2019
62e16b0
Added go-finance (#2817)
pieterclaerhout Nov 15, 2019
a0efb87
add onion configuration library (#2821)
fzerorubigd Nov 15, 2019
32084a9
Remove agora – not maintained anymore. (#2822)
AlekSi Nov 15, 2019
9127a02
Added go.dev (#2826)
HanEmile Nov 19, 2019
66ec350
Remove dead link to termtables, fix typo slash (#2828)
1e6 Nov 21, 2019
669c83f
Added Mailchain to awesome-go (#2809)
robdefeo Nov 25, 2019
3a5b170
Added go-james (#2814)
pieterclaerhout Nov 25, 2019
a06a67e
Added go-log (#2816)
pieterclaerhout Nov 25, 2019
98e5c02
pieterclaerhout/go-xray (#2818)
pieterclaerhout Nov 25, 2019
cb5b5c7
Add cronrange package in 'Date and Time' section (#2824)
an63 Nov 25, 2019
291db55
Add GoThanks (#2820)
psampaz Nov 25, 2019
a898e4d
Add package go-week to section 'Date and Time' (#2825)
stoewer Nov 25, 2019
46e334f
Add qry tool (#2827)
HnH Nov 25, 2019
30b406a
Add CDS entry (#2830)
w3st3ry Nov 25, 2019
93742a0
update description (#2833)
pjebs Nov 25, 2019
116885e
Add Clîr (#2838)
leaanthony Nov 26, 2019
e5fd607
Add uTask entry (#2829)
w3st3ry Dec 4, 2019
d55163c
add posener/cmd (#2840)
posener Dec 4, 2019
b502384
feat: adding beyond as a new utility (#2843)
Dec 4, 2019
b5d4348
add gospin (#2835)
m1 Dec 4, 2019
2d6afea
add slice (#2844)
psampaz Dec 6, 2019
1a7b259
update gorse in ML section (#2849)
zhenghaoz Dec 10, 2019
9117e2a
Add gosocsvr (#2836)
Dec 10, 2019
c88aa67
pipe doesn't exist anymore (#2859)
dorneanu Dec 11, 2019
4a8323f
Add cookiecutter-golang (#2842)
lacion Dec 11, 2019
466d0db
add go-generate-password (#2858)
m1 Dec 12, 2019
b9fbd3f
add disksing/iter (#2852)
disksing Dec 13, 2019
2869d0a
add a link to tickgit (#2851)
patrickdevivo Dec 13, 2019
d1c74d1
add goe-joe (#2856)
fgrosse Dec 13, 2019
1a0f25b
Add queryparam package to readme. (#2855)
TomWright Dec 13, 2019
08383e5
Add fergusstrange/embedded-postgres (#2850)
fergusstrange Dec 15, 2019
db51877
Add ecommerce section with flamingo commerce (#2771)
danielpoe Dec 19, 2019
f79a306
add fixedwidth (#2860)
huydang284 Dec 20, 2019
79de29b
Added go-restful-api project (#2869)
qiangxue Dec 26, 2019
4e17f4d
Add Dingo dependency injection (#2865)
bastianccm Dec 26, 2019
14d91be
add dp project to miscellaneous (#2872)
mats0319 Dec 29, 2019
3c72a3a
Added package tome to the utilities list (#2871)
cyruzin Dec 29, 2019
26b8646
Update description of networking framework: gnet (#2882)
panjf2000 Dec 31, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.git
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: avelino
patreon: avelinosource
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Please check if what you want to add to `awesome-go` list meets [quality standar
- github.com repo:
- godoc.org:
- goreportcard.com:
- coverage service link ([cover.run](https://cover.run/), [gocover](http://gocover.io/), [coveralls](https://coveralls.io/) etc.), example: `[![cover.run](https://cover.run/go/github.com/user/repository.svg?style=flat&tag=golang-1.10)](https://cover.run/go?tag=golang-1.10&repo=github.com%2Fuser%2Frepository)`
- coverage service link ([gocover](http://gocover.io/), [coveralls](https://coveralls.io/) etc.)


Very good coverage
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
tmpl/index.html
awesome-go

# Folders
.idea
.vscode
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@ language: go

go:
- 1.x

sudo: false

install:
- go get -t -v ./...
- npm install netlify-cli -g

deploy:
provider: script
script: netlify deploy --dir=tmpl --prod
skip_cleanup: true
on:
branch: master
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ You are an awesome project now! Feel encouraged to tell others about it by addin

## Maintainers

To make sure every PR is checked, we have [team maintainers](MAINTAINERS). Every PR MUST be reviewed by at least two maintainers before it can get merged.
To make sure every PR is checked, we have [team maintainers](MAINTAINERS). Every PR MUST be reviewed by at least one maintainer before it can get merged.

The maintainers will review your PR and notify you and tag it in case any
information is still missing. They will wait 30 days for your interaction, after
Expand Down
1 change: 1 addition & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ Bo-Yi Wu <appleboy.tw@gmail.com> (@appleboy)
Cássio Botaro <cassiobotaro@gmail.com> (@cassiobotaro)
Jessica Temporal <jessicatemporal@gmail.com> (@jtemporal)
Ceriath <ceriath@ceriath.net> (@ceriath)
Andy Pan <panjf2000@gmail.com> (@panjf2000)
596 changes: 480 additions & 116 deletions README.md

Large diffs are not rendered by default.

59 changes: 0 additions & 59 deletions repo.go

This file was deleted.

29 changes: 28 additions & 1 deletion repo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,22 @@ package main
import (
"bytes"
"io/ioutil"
"os"
"regexp"
"sort"
"strings"
"testing"
"text/template"

"github.com/PuerkitoBio/goquery"
"github.com/russross/blackfriday"
gfm "github.com/shurcooL/github_flavored_markdown"
)

type content struct {
Body string
}

func TestAlpha(t *testing.T) {
query := startQuery()

Expand Down Expand Up @@ -42,7 +49,7 @@ func TestDuplicatedLinks(t *testing.T) {

var (
reContainsLink = regexp.MustCompile(`\* \[.*\]\(.*\)`)
reOnlyLink = regexp.MustCompile(`\* \[.*\]\(.*\)$`)
reOnlyLink = regexp.MustCompile(`\* \[.*\]\([^()]*\)$`)
reLinkWithDescription = regexp.MustCompile(`\* \[.*\]\(.*\) - \S.*[\.\!]`)
)

Expand Down Expand Up @@ -70,6 +77,12 @@ func TestSeparator(t *testing.T) {
}
}
}
func TestGenerateHTML(t *testing.T) {
err := generateHTML()
if err != nil {
t.Errorf("html generate error '%s'", err.Error())
}
}

func testList(t *testing.T, list *goquery.Selection) {
list.Find("ul").Each(func(_ int, items *goquery.Selection) {
Expand Down Expand Up @@ -122,3 +135,17 @@ func checkAlphabeticOrder(t *testing.T, s *goquery.Selection) {
t.Logf("expected order is:\n%s", strings.Join(sorted, "\n"))
}
}

func generateHTML() (err error) {
// options
readmePath := "./README.md"
tplPath := "tmpl/tmpl.html"
idxPath := "tmpl/index.html"
input, _ := ioutil.ReadFile(readmePath)
body := string(gfm.Markdown(input))
c := &content{Body: body}
t := template.Must(template.ParseFiles(tplPath))
f, err := os.Create(idxPath)
t.Execute(f, c)
return
}