Skip to content

Commit

Permalink
Merge pull request #8 from brunomvsouza/documentation
Browse files Browse the repository at this point in the history
Add licence on files and package descriptions
  • Loading branch information
brunomvsouza committed Aug 11, 2018
2 parents 382e564 + 5cdaf65 commit d669117
Show file tree
Hide file tree
Showing 41 changed files with 174 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/account/entity.go
@@ -1,3 +1,8 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

// Package account implements account entities and services
package account // import "go.bmvs.io/ynab/api/account"

// Account represents an account for a budget
Expand Down
4 changes: 4 additions & 0 deletions api/account/enum.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package account

// Type identifies an account type
Expand Down
4 changes: 4 additions & 0 deletions api/account/example_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package account_test

import (
Expand Down
4 changes: 4 additions & 0 deletions api/account/service.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package account

import (
Expand Down
5 changes: 5 additions & 0 deletions api/budget/entity.go
@@ -1,3 +1,8 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

// Package budget implements budget entities and services
package budget // import "go.bmvs.io/ynab/api/budget"

import (
Expand Down
4 changes: 4 additions & 0 deletions api/budget/example_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package budget_test

import (
Expand Down
4 changes: 4 additions & 0 deletions api/budget/service.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package budget

import (
Expand Down
4 changes: 4 additions & 0 deletions api/budget/service_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package budget_test

import (
Expand Down
5 changes: 5 additions & 0 deletions api/category/entity.go
@@ -1,3 +1,8 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

// Package category implements category entities and services
package category // import "go.bmvs.io/ynab/api/category"
import "go.bmvs.io/ynab/api"

Expand Down
4 changes: 4 additions & 0 deletions api/category/enum.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package category

// Goal represents the goal of a category
Expand Down
4 changes: 4 additions & 0 deletions api/category/example_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package category_test

import (
Expand Down
4 changes: 4 additions & 0 deletions api/category/service.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package category

import (
Expand Down
4 changes: 4 additions & 0 deletions api/category/service_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package category_test

import (
Expand Down
6 changes: 6 additions & 0 deletions api/client.go
@@ -1,3 +1,9 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

// Package api implements shared structures and behaviours of
// the API services
package api // import "go.bmvs.io/ynab/api"

// ClientReader contract for a read only client
Expand Down
4 changes: 4 additions & 0 deletions api/date.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package api

import (
Expand Down
4 changes: 4 additions & 0 deletions api/date_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package api_test

import (
Expand Down
4 changes: 4 additions & 0 deletions api/error.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package api

import (
Expand Down
4 changes: 4 additions & 0 deletions api/example_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package api_test

import (
Expand Down
5 changes: 5 additions & 0 deletions api/month/entity.go
@@ -1,3 +1,8 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

// Package month implements month entities and services
package month // import "go.bmvs.io/ynab/api/month"

import (
Expand Down
4 changes: 4 additions & 0 deletions api/month/example_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package month_test

import (
Expand Down
4 changes: 4 additions & 0 deletions api/month/service.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package month

import (
Expand Down
4 changes: 4 additions & 0 deletions api/month/service_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package month_test

import (
Expand Down
5 changes: 5 additions & 0 deletions api/payee/entity.go
@@ -1,3 +1,8 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

// Package payee implements payee entities and services
package payee // import "go.bmvs.io/ynab/api/payee"

// Payee represents a payee for a budget
Expand Down
4 changes: 4 additions & 0 deletions api/payee/example_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package payee_test

import (
Expand Down
4 changes: 4 additions & 0 deletions api/payee/service.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package payee

import (
Expand Down
4 changes: 4 additions & 0 deletions api/payee/service_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package payee_test

import (
Expand Down
4 changes: 4 additions & 0 deletions api/ratelimit.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package api

import (
Expand Down
4 changes: 4 additions & 0 deletions api/ratelimit_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package api

import (
Expand Down
5 changes: 5 additions & 0 deletions api/transaction/entity.go
@@ -1,3 +1,8 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

// Package transaction implements transaction entities and services
package transaction // import "go.bmvs.io/ynab/api/transaction"

import "go.bmvs.io/ynab/api"
Expand Down
4 changes: 4 additions & 0 deletions api/transaction/enum.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package transaction

// Status represents the type of a transaction
Expand Down
4 changes: 4 additions & 0 deletions api/transaction/example_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package transaction_test

import (
Expand Down
4 changes: 4 additions & 0 deletions api/transaction/payload.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package transaction

import (
Expand Down
4 changes: 4 additions & 0 deletions api/transaction/service.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package transaction

import (
Expand Down
4 changes: 4 additions & 0 deletions api/transaction/service_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package transaction_test

import (
Expand Down
5 changes: 5 additions & 0 deletions api/user/entity.go
@@ -1,3 +1,8 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

// Package user implements transaction user and services
package user // import "go.bmvs.io/ynab/api/user"

// User represents an user
Expand Down
4 changes: 4 additions & 0 deletions api/user/example_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package user_test

import (
Expand Down
4 changes: 4 additions & 0 deletions api/user/service.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package user

import (
Expand Down
4 changes: 4 additions & 0 deletions api/user/service_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package user_test

import (
Expand Down
5 changes: 5 additions & 0 deletions client.go
@@ -1,3 +1,8 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

// Package ynab implements the client API
package ynab // import "go.bmvs.io/ynab"

import (
Expand Down
4 changes: 4 additions & 0 deletions client_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package ynab

import (
Expand Down
4 changes: 4 additions & 0 deletions example_test.go
@@ -1,3 +1,7 @@
// Copyright (c) 2018, Bruno M V Souza <github@b.bmvs.io>. All rights reserved.
// Use of this source code is governed by a BSD-2-Clause license that can be
// found in the LICENSE file.

package ynab_test

import (
Expand Down

0 comments on commit d669117

Please sign in to comment.