Skip to content

edualb/godmitri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

143 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Build Status

Icon made by Freepik from www.flaticon.com

Table Of Contents:

Introduction

Installation

Getting start

Introduction

This project provides utilities for general chemistry. The name of the project was inspired by periodic table creator Dmitri Ivanovic Mendeleev.

Key features:

  • Get all elements properties from the periodic table ✔️

If you want to contribute with a new feature or found out some bug which you can solve, check our contributing guideline

Installation

  • init the go module in your project

    $ go mod init example.com/myProject
    
  • Just import the godmitri library in your project

    import "github.com/edualb/godmitri/element"

Getting start

package main

import (
	"fmt"

	"github.com/edualb/godmitri/element"
)

func main() {
    // Creates an instance of Aluminium
	a := element.Aluminium{}

    // Prints the atomic weight from aluminium
	fmt.Printf("%f\n", a.GetAtomicWeight())
}

About

This project provides utilities for chemistry. The name of the project was inspired by periodic table creator Dmitri Ivanovic Mendeleev name.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors

Languages