You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: client_extended.go
    path of file: ./repos/hugo/resources/resource_transformers/tocss/scss
    
    the code of the file until where you have to start completion: // Copyright 2018 The Hugo Authors. All rights reserved.
//
// Licensed under the Apache License, Ver
    
func (c *Client) ToCSS(res resources.ResourceTransformer, opts Options) (resource.Resource, error) {
	internalOptions := options{
		from: opts,
	}

	// Transfer values from client.
	internalOptions.to.Precision = opts.Precision
	internalOptions.to.OutputStyle = libsass.ParseOutputStyle(opts.OutputStyle)

	if internalOptions.to.Precision == 0 {
		// bootstrap-sass requires 8 digits precision. The libsass default is 5.
		// https://github.com/twbs/bootstrap-sass/blob/master/README.md#sass-number-precision
		internalOptions.to.Precision = 8
	}

	return res.Transform(&toCSSTransformation{c: c, options: internalOptions})
}