Skip to content

Commit

Permalink
Add more comments (GoDoc)
Browse files Browse the repository at this point in the history
  • Loading branch information
fguillot committed Jan 12, 2018
1 parent ce4de8a commit 9652dfa
Show file tree
Hide file tree
Showing 28 changed files with 256 additions and 6 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Miniflux 2
==========
[![Build Status](https://travis-ci.org/miniflux/miniflux.svg?branch=master)](https://travis-ci.org/miniflux/miniflux)
[![GoDoc](https://godoc.org/github.com/miniflux/miniflux?status.svg)](https://godoc.org/github.com/miniflux/miniflux)
[![Documentation Status](https://readthedocs.org/projects/miniflux/badge/?version=latest)](https://docs.miniflux.net/)

Miniflux is a minimalist and opinionated feed reader:
Expand All @@ -16,11 +17,6 @@ It's simple, fast, lightweight and super easy to install.

Miniflux 2 is a rewrite of [Miniflux 1.x](https://github.com/miniflux/miniflux-legacy) in Golang.

Notes
-----

Miniflux 2 still in development and **it's not ready to use**.

Documentation
-------------

Expand Down
10 changes: 10 additions & 0 deletions api/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package api implements API endpoints for Miniflux application.
*/
package api
10 changes: 10 additions & 0 deletions cli/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package cli implements command line arguments for Miniflux application.
*/
package cli
10 changes: 10 additions & 0 deletions config/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package config handles configuration values for Miniflux application.
*/
package config
10 changes: 10 additions & 0 deletions crypto/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package crypto implements helpers related to cryptography.
*/
package crypto
10 changes: 10 additions & 0 deletions daemon/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package daemon handles the main application process.
*/
package daemon
10 changes: 10 additions & 0 deletions doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package main implements a feed reader application.
*/
package main
10 changes: 10 additions & 0 deletions duration/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package duration implements helpers to calculate time duration.
*/
package duration
10 changes: 10 additions & 0 deletions errors/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package errors handles localized errors.
*/
package errors
10 changes: 10 additions & 0 deletions fever/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package fever implements Fever API endpoints.
*/
package fever
10 changes: 10 additions & 0 deletions filter/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package filter implements a content filter to rewrite image links.
*/
package filter
10 changes: 10 additions & 0 deletions http/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package http implements a set of utilities related to the HTTP protocol.
*/
package http
10 changes: 10 additions & 0 deletions integration/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package integration implements API clients for third-party services.
*/
package integration
10 changes: 10 additions & 0 deletions locale/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package locale handles the internationalization of the application.
*/
package locale
10 changes: 10 additions & 0 deletions logger/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package logger handles application log messages with different levels.
*/
package logger
10 changes: 10 additions & 0 deletions model/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package model contains all data structures used by the application.
*/
package model
10 changes: 10 additions & 0 deletions oauth2/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package oauth2 abstracts different OAuth2 providers.
*/
package oauth2
10 changes: 10 additions & 0 deletions reader/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package reader implements everything related to feed parsing.
*/
package reader
10 changes: 10 additions & 0 deletions scheduler/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package scheduler implements the application internal scheduler.
*/
package scheduler
10 changes: 10 additions & 0 deletions sql/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package sql contains all SQL queries or database schema instructions.
*/
package sql
10 changes: 10 additions & 0 deletions storage/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package storage implements a set of functions to interact with the database.
*/
package storage
10 changes: 10 additions & 0 deletions template/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package template handles template parsing and execution.
*/
package template
10 changes: 10 additions & 0 deletions timer/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package timer implements utility functions to measure the execution time of a block of code.
*/
package timer
10 changes: 10 additions & 0 deletions ui/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package ui implements handlers to render to user interface.
*/
package ui
10 changes: 10 additions & 0 deletions url/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package url implements a set of utility functions to parse URL.
*/
package url
4 changes: 4 additions & 0 deletions url/url_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.

package url

import "testing"
Expand Down
10 changes: 10 additions & 0 deletions version/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2018 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

/*
Package version contains application and build information.
*/
package version
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

package version

// Version of the application (generate with "make build")
// Version of the application (generated with "make build")
var Version = "undefined"

// BuildDate is generated with "make build"
Expand Down

0 comments on commit 9652dfa

Please sign in to comment.