Click here to Skip to main content
15,314,594 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I read the following in code.
covid-vaccine-tracker/main.go at master · warrensbox/covid-vaccine-tracker · GitHub[^]

In this article will notify the covid vaccination information near you.
but why these lines are added here

I am not understand, what is the use of finger print here.


if result != nil {
		fmt.Println("Found item:")
		fmt.Println("Source:  ", item.Source)
		fmt.Println("fingerprint: ", item.Fingerprint)
		fmt.Println("ID:", item.ID)
		fmt.Println("hash: ", hash)
	}



please give me a solution.

What I have tried:

i am new to AWS and go, Iam try to understand the Code.
Posted
Updated 28-Jun-21 4:20am
Comments
Patrice T 28-Jun-21 5:39am
   
"Why here uses fingerprint?"
Because the author decided to.
Ask him the reason.
Richard MacCutchan 28-Jun-21 6:15am
   
It just refers to the hash value create at line 259 of the program.

1 solution

It's not a fingerprint, or some representation of one, of an actual finger, if that's what you're thinking.

It refers to a hash value for the data.

But if you want to know what some code is doing, ask the person who wrote it.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900