Skip to content

Commit 096ab8c

Browse files
committed
v0.0.6
1 parent 00355b7 commit 096ab8c

File tree

6 files changed

+34
-14
lines changed

6 files changed

+34
-14
lines changed

CHANGELOG.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,25 @@ and this project adheres to [Semantic Versioning].
99

1010
- Will list future updates here
1111

12+
## [0.0.6] - 2023-01-18
13+
14+
### Added
15+
16+
### Changed
17+
18+
- Changed `README.md` to reflect changes
19+
- Changed `CHANGELOG.md` to reflect changes
20+
- Change product name to `nyse-stocks`
21+
- Change slug to `nyse_stocks`
22+
23+
### Deprecated
24+
25+
### Removed
26+
27+
### Fixed
28+
29+
### Security
30+
1231
## [0.0.5] - 2023-01-18
1332

1433
### Added
@@ -105,7 +124,8 @@ and this project adheres to [Semantic Versioning].
105124
[semantic versioning]: https://semver.org/spec/v2.0.0.html
106125

107126
<!-- Versions -->
108-
[unreleased]: https://github.com/octolibs/stocks/compare/v0.0.5...MAIN
127+
[unreleased]: https://github.com/octolibs/stocks/compare/v0.0.6...MAIN
128+
[0.0.5]: https://github.com/octolibs/stocks/compare/v0.0.5...v0.0.6
109129
[0.0.5]: https://github.com/octolibs/stocks/compare/v0.0.4...v0.0.5
110130
[0.0.4]: https://github.com/octolibs/stocks/compare/v0.0.3...v0.0.4
111131
[0.0.3]: https://github.com/octolibs/stocks/compare/v0.0.2...v0.0.3

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<div align="center">
2-
<h1><img alt="Stocks logo" src="https://github.com/octolibs/stocks/blob/main/stock.png" height="300" /><br />
3-
Go Stock Exchange Library
2+
<h1><img alt="nyse-stocks logo" src="https://github.com/octolibs/nyse-stocks/blob/main/stock.png" height="300" /><br />
3+
New York Stock Exchange (NYSE) Go Library
44
</h1>
55

6-
[![Go Reference](https://pkg.go.dev/badge/octolibs/stocks.svg)](https://pkg.go.dev/github.com/octolibs/stocks) [![Go Version](https://img.shields.io/github/go-mod/go-version/octolibs/stocks)](https://go.dev/) [![GoReportCard](https://goreportcard.com/badge/github.com/octolibs/stocks)](https://goreportcard.com/report/github.com/octolibs/stocks) [![CodeFactor](https://www.codefactor.io/repository/github/octolibs/stocks/badge)](https://www.codefactor.io/repository/github/octolibs/stocks) [![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/octolibs/stocks/.github/workflows/go.yml)](https://github.com/octolibs/stocks/blob/main/.github/workflows/go.yml) ![Size](https://img.shields.io/github/languages/code-size/octolibs/stocks) [![Last Commit](https://img.shields.io/github/last-commit/octolibs/stocks)](https://github.com/octolibs/stocks/commits/main) [![License](https://img.shields.io/github/license/octolibs/stocks)](https://github.com/octolibs/stocks/blob/main/LICENSE)
6+
[![Go Reference](https://pkg.go.dev/badge/octolibs/nyse-stocks.svg)](https://pkg.go.dev/github.com/octolibs/nyse-stocks) [![Go Version](https://img.shields.io/github/go-mod/go-version/octolibs/nyse-stocks)](https://go.dev/) [![GoReportCard](https://goreportcard.com/badge/github.com/octolibs/nyse-stocks)](https://goreportcard.com/report/github.com/octolibs/nyse-stocks) [![CodeFactor](https://www.codefactor.io/repository/github/octolibs/nyse-stocks/badge)](https://www.codefactor.io/repository/github/octolibs/nyse-stocks) [![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/octolibs/nyse-stocks/.github/workflows/go.yml)](https://github.com/octolibs/nyse-stocks/blob/main/.github/workflows/go.yml) ![Size](https://img.shields.io/github/languages/code-size/octolibs/nyse-stocks) [![Last Commit](https://img.shields.io/github/last-commit/octolibs/nyse-stocks)](https://github.com/octolibs/nyse-stocks/commits/main) [![License](https://img.shields.io/github/license/octolibs/nyse-stocks)](https://github.com/octolibs/nyse-stocks/blob/main/LICENSE)
77

88
</div>
99
<hr/>
@@ -31,15 +31,15 @@ If you don't have `Go` installed, you can download it from [here](https://go.dev
3131
Run the following command in the `console`, in the `project directory`, to install the library with `go get`
3232

3333
```plain
34-
go get github.com/octolibs/stocks
34+
go get github.com/octolibs/nyse-stocks
3535
```
3636

3737
### Importing
3838

3939
Add the import to your `.go` file
4040

4141
```go
42-
import "github.com/octolibs/stocks"
42+
import "github.com/octolibs/nyse-stocks"
4343
```
4444

4545
## 💰 Usage
@@ -51,15 +51,15 @@ Add this to your `.go` file
5151
```go
5252
// Parameter: Stock Symbol
5353
// Returns: strings ex: `$123.45`, `1.23%`, `↑`
54-
price, percent, direction := stocks.GetPriceAndPercentage("AAPL")
54+
price, percent, direction := nyse_stocks.GetPriceAndPercentage("AAPL")
5555
```
5656

5757
### Get full stock details
5858

5959
```go
6060
// Parameter: Stock Symbol
6161
// Returns `Result` struct
62-
stock := stocks.GetFullDetails("AAPL")
62+
stock := nyse_stocks.GetFullDetails("AAPL")
6363
```
6464

6565
### Result struct
@@ -130,8 +130,8 @@ request.
130130

131131
## ⚖️ License
132132

133-
This project is under the MIT License. See the [LICENSE](https://github.com/octolibs/stocks/blob/main/LICENSE) file for the full license text.
133+
This project is under the MIT License. See the [LICENSE](https://github.com/octolibs/nyse-stocks/blob/main/LICENSE) file for the full license text.
134134

135135
## 📜 Changes
136136

137-
Check out our [CHANGELOG](https://github.com/octolibs/stocks/blob/main/CHANGELOG.md)
137+
Check out our [CHANGELOG](https://github.com/octolibs/nyse-stocks/blob/main/CHANGELOG.md)

consts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package stocks
1+
package nyse_stocks
22

33
const (
44
// YahooURL = Yahoo Finance

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/octolibs/stocks
1+
module github.com/octolibs/nyse-stocks
22

33
go 1.19

queries.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package stocks
1+
package nyse_stocks
22

33
import (
44
"encoding/json"

structs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package stocks
1+
package nyse_stocks
22

33
/** TLR
44
* * is the Top level json result

0 commit comments

Comments
 (0)