OSDN Git Service

add import function (#25)
authoroysheng <33340252+oysheng@users.noreply.github.com>
Tue, 20 Nov 2018 08:07:12 +0000 (16:07 +0800)
committerPaladz <yzhu101@uottawa.ca>
Tue, 20 Nov 2018 08:07:12 +0000 (16:07 +0800)
commitfeea890b3cce9d1b0e2ff76e434628b88acabf24
treebac316ce70873bfa006bf59cda3924714324d7f3
parent21cdc76bed061af7ff08eea7416431e6bfbc317c
add import function  (#25)

* add import function

* modify scan string with '' and ""

* add check for empty path

* modify name

* add test

* add import unit test
modify compile test

* modify loan collateral and repay collateral

* optimise
compiler/compile_test.go
compiler/equitytest/LoanCollateral [new file with mode: 0644]
compiler/equitytest/RepayCollateral [new file with mode: 0644]
compiler/equitytest/equity_test.go [new file with mode: 0644]
compiler/equitytest/equitytest.go [deleted file]
compiler/import.go [new file with mode: 0644]
compiler/parse.go