If it is not pink eye, it may be clogged tear duct. Its very common in babies! Dont worry about it unless her eyes become red or she starts to run fever. Use a warm rag and hold it on the eye then wipe from the outside corner into the center and down the side of the nose. If you are breastfeeding, drop a drop or two of breastmilk into her eyes and she'll be able to open them in a matter of seconds.
If your baby have the goop when he or she born, it may be the barrier of nasolacrimal duct, if your baby has the goop only in these days, it may be infection, or may get inflamed. You can use the saline flush to help your baby to wash eyes or use some eye drops. But I recommend you should go to the hospital and let your baby have an examination.