Skip to content

Commit

Permalink
md table try
Browse files Browse the repository at this point in the history
Signed-off-by: AOrps <aorbeandrews@gmail.com>
  • Loading branch information
AOrps committed Jul 27, 2023
1 parent 44527d6 commit 3099248
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 47 deletions.
42 changes: 25 additions & 17 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
MIT License
BSD 3-Clause License

Copyright (c) 2021 @aorps
Copyright (c) 2022, the respective contributors, as shown by the AUTHORS file or @AOrps.
All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Go](https://github.com/AOrps/rebxlance/actions/workflows/go.yml/badge.svg)](https://github.com/AOrps/rebxlance/actions/workflows/go.yml)
n[![Go](https://github.com/AOrps/rebxlance/actions/workflows/go.yml/badge.svg)](https://github.com/AOrps/rebxlance/actions/workflows/go.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/AOrps/rebxlance)](https://goreportcard.com/report/github.com/AOrps/rebxlance)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Maintainability](https://api.codeclimate.com/v1/badges/4e5372c279e42457ecfb/maintainability)](https://codeclimate.com/github/AOrps/rebxlance/maintainability)
Expand Down Expand Up @@ -45,7 +45,11 @@ make run

| Directory | Explanation
| :-------: | :---------
| |
| asdfbasjhdf | lasndfaksdnfsadfkn
| asdasdfasfd | asldflsakdfns'
| asldnfsaldfn | [dasjfnkjsadnf](./Makefile)



## :warning: Disclaimer
- This is not to be a replacement or a substitute for investment advice.
Expand Down
3 changes: 0 additions & 3 deletions db/Dockerfile

This file was deleted.

31 changes: 6 additions & 25 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,31 +1,12 @@
package main

import (
// "bufio"
"fmt"
// "os"
"github.com/piquette/finance-go/quote"
"log"

// "github.com/AOrps/rebxlance/portfolio"
)
// https://www.stockdata.org/documentation

const (
JSONDB = "cmd/db.json"
)

func main() {
q, err := quote.Get("AAPL")

if err != nil {
fmt.Println("fucking error")
log.Fatal(err)
}

fmt.Println(q)
/*
var Stonks []portfolio.Stonk

scanner := bufio.NewScanner(os.Stdin)

Check failure on line 11 in main.go

View workflow job for this annotation

GitHub Actions / build

undefined: bufio

Check failure on line 11 in main.go

View workflow job for this annotation

GitHub Actions / build

undefined: os

Expand All @@ -39,10 +20,10 @@ func main() {
break
}

price := portfolio.GetMarketPrice(text)
fmt.Println(price)
stonk, err := portfolio.GenerateStonk(text)
// price := portfolio.GetMarketPrice(text)
// fmt.Println(price)
// stonk, err := portfolio.GenerateStonk(text)
if err != nil {

Check failure on line 27 in main.go

View workflow job for this annotation

GitHub Actions / build

undefined: err
fmt.Println(err)

Check failure on line 28 in main.go

View workflow job for this annotation

GitHub Actions / build

undefined: fmt

Check failure on line 28 in main.go

View workflow job for this annotation

GitHub Actions / build

undefined: err
} else {
Expand All @@ -55,5 +36,5 @@ func main() {
fmt.Printf("Name:%s\nPrice:%f\nSector:%s\n\n", stonk.Name, stonk.Price, stonk.Sector)
}
fmt.Println("===============================================================")
*/

}

0 comments on commit 3099248

Please sign in to comment.