From 4187f5f27b661c3409fab1aa1fb491c6d2f86c35 Mon Sep 17 00:00:00 2001 From: Gabri432 Date: Sun, 4 Sep 2022 17:18:49 +0200 Subject: [PATCH] Updating project structure description. --- readme.it.md | 16 ++++++---------- readme.md | 16 ++++++---------- 2 files changed, 12 insertions(+), 20 deletions(-) diff --git a/readme.it.md b/readme.it.md index 4c35cf0..7b4d6f3 100644 --- a/readme.it.md +++ b/readme.it.md @@ -47,14 +47,13 @@ package main import ( "fmt" "github.com/Gabri432/gophysics/constants" - "github.com/Gabri432/gophysics/classical" - "github.com/Gabri432/gophysics/gravity" + "github.com/Gabri432/gophysics/formulas" ) func main() { fmt.Println(constants.C) <<< Scrivi una costante - fmt.Println(classical.Force(3, 4)) <<< Chiama una funzione - myPlanet := gravity.PlanetBody{Mass: constants.EARTH_MASS, Radius: constants.EARTH_RADIUS} <<< Costrusci il tuo oggetto + fmt.Println(formulas.Force(3, 4)) <<< Chiama una funzione + myPlanet := formulas.PlanetBody{Mass: constants.EARTH_MASS, Radius: constants.EARTH_RADIUS} <<< Costrusci il tuo oggetto fmt.Println(myPlanet.EscapeSpeed()) <<< Chiama i suoi metodi per fare calcoli più comodamente. } @@ -87,18 +86,15 @@ func main() { #### gophysics (main) - `gophysics.go`, non fornisce alcuna formula, ma diverse funzioni per semplificare alcune operazioni. - `license`, `readme.md`, `readme.it.md`, `CHANGELOG.txt`. -#### classical + +#### formulas - `classical.go`, dove tutte le formule di FIsica Classica sono presenti. -#### fluids - `fluids.go`, dove tutte le formule sui Fluidi sono presenti. -#### gravity - `gravity.go`, dove tutte le formule sulla Gravità sono presenti. -#### thermodynamics - `thermodynamics.go`, dove tutte le formule sulla Termodinamica sono presenti. -#### electromagnetism - `electromagnetism.go`, dove tutte le formule sull'Elettromagnetismo sono presenti. -#### relativity - `relativity.go`, where all the Relativity formulas are located. + #### constants - `constants.go`, dove tutte le formule sulla Relatività sono presenti. diff --git a/readme.md b/readme.md index ab5f8ad..7188250 100644 --- a/readme.md +++ b/readme.md @@ -47,14 +47,13 @@ package main import ( "fmt" "github.com/Gabri432/gophysics/constants" - "github.com/Gabri432/gophysics/classical" - "github.com/Gabri432/gophysics/gravity" + "github.com/Gabri432/gophysics/formulas" ) func main() { fmt.Println(constants.C) <<< Write a constant - fmt.Println(classical.Force(3, 4)) <<< Call a function - myPlanet := gravity.PlanetBody{Mass: constants.EARTH_MASS, Radius: constants.EARTH_RADIUS} <<< Create a custom object + fmt.Println(formulas.Force(3, 4)) <<< Call a function + myPlanet := formulas.PlanetBody{Mass: constants.EARTH_MASS, Radius: constants.EARTH_RADIUS} <<< Create a custom object fmt.Println(myPlanet.EscapeSpeed()) <<< Call object methods to ease some calculations } @@ -87,18 +86,15 @@ func main() { #### gophysics (main) - `gophysics.go`, doesn't provide formulas, but other functions to simplify some actions. - `license`, `readme.md`, `readme.it.md`, `CHANGELOG.txt`. -#### classical + +#### formulas - `classical.go`, where all the Classical physics formulas are located. -#### fluids - `fluids.go`, where all the Fluid formulas are located. -#### gravity - `gravity.go`, where all the Gravity formulas are located. -#### thermodynamics - `thermodynamics.go`, where all the Thermodynamics formulas are located. -#### electromagnetism - `electromagnetism.go`, where all the Electromagnetism formulas are located. -#### relativity - `relativity.go`, where all the Relativity formulas are located. + #### constants - `constants.go`, where all the constants are located.