G spread bond pricing

Hi is there anyone who can help me (through an example) to understand how to price a bond via g spread calculation?