cpmech / gosl

Linear algebra, eigenvalues, FFT, Bessel, elliptic, orthogonal polys, geometry, NURBS, numerical quadrature, 3D transfinite interpolation, random numbers, Mersenne twister, probability distributions, optimisation, differential equations.
BSD 3-Clause "New" or "Revised" License
1.83k stars 145 forks source link

can't load package: package github.com/cpmech/gosl: no Go files in /home/unix/go/src/github.com/cpmech/gosl #56

Closed ouening closed 3 years ago

ouening commented 3 years ago

Hi, when I try to install this package using command go get github.com/cpmech/gosl, I got error as title said. I'm a new guy to golang, how can I solve it?

cpmech commented 3 years ago

Hi there,

We can only go get "real" packages, for example go get github.com/cpmech/gosl/io (note io at the end).

The readme file was incorrect but now it mentions git clone instead of go get as follows:

git clone https://github.com/cpmech/gosl.git
cd gosl
./all.bash

Note that the above procedure (not using Docker) requires the installation of Go and some additional libraries (as explained in the Readme file).

Cheers. Dorival